I read on one site that you can make constant variables in JavaScript like:
const x = 20;
but on another site I read that you can't. So I am confused now what is it now?
Also in Visual Studio 2010 when I write const
it underlines it in the JavaScript file and shows syntax error.