javascript es6 quizes code example
Example 1: javascript es6 quizes
let x = 42;
if (true) {
let x = 1337;
}
console.log(x);
Example 2: javascript es6 quizes
const KEY = 'white_rabbit';
if (true) {
const KEY = 'ginger_rabbit';
}
console.log(KEY);