Contact: aviboots(AT)netvision.net.il
43,903 questions
57,300 answers
573 users
const CONSTANT_VAL = 8575; // CONSTANT_VAL = 12; // TypeError: invalid assignment to const 'CONSTANT_VAL console.log(CONSTANT_VAL); /* run: 8575 */
const CONSTANT_VAL = 8575; //let CONSTANT_VAL = 12; // SyntaxError: redeclaration of const CONSTANT_VAL console.log(CONSTANT_VAL); /* run: 8575 */