Is there a way to use constants in JavaScript?
If not, what\'s the common practice for specifying variables that are used as constants?
The keyword 'const' was proposed earlier and now it has been officially included in ES6. By using the const keyword, you can pass a value/string that will act as an immutable string.