11.
What is the temporal dead zone in ES6?
12.
Can a variable declared with let be hoisted?
13.
What will the following code output: { const a = 10; a = 20; }?
14.
Which keyword is used to declare a read-only named constant?
15.
Are variables declared with let and const accessible before they are declared?
16.
What is the primary difference between var and let?
17.
Can const variables be reassigned in nested scopes?
18.
What will the following code output: { let y = 5; { let y = 10; console.log(y); } }?
19.
Which of the following statements about const and objects is true?
20.
What is the output of the following code: let z = 3; z = 5; console.log(z);?