Defaultjsconstant.md - brainchildservices/curriculum GitHub Wiki
Slide 1
Also, you cannot declare a constant without initializing it. For example,
const x; // Error! Missing initializer in const declaration.
x = 5;
console.log(x)
Note: If you are sure that the value of a variable won't change throughout the program, it's recommended to use const. However, there are a few browsers that do not support const.