There are many command line switches in Chrome, for example: http://peter.sh/experiments/chromium-command-line-switches/
Is it possible to check javascript which ones are included?
No no. And this should not be necessary. If the flag adds any functionality, you can check if this functionality exists. Any other flag is absolutely not related to the web page.