Is there a way to use constants in JavaScript?
If not, what\'s the common practice for specifying variables that are used as constants?
I use const instead of var in my Greasemonkey scripts, but it is because they will run only on Firefox... Name convention can be indeed the way to go, too (I do both!).
const
var