11.
Which of the following is a characteristic of 'const' variables?
12.
How does the scope of 'var' differ from 'let' and 'const' inside a function?
13.
What error is thrown when attempting to redeclare a 'const' variable?
14.
Which of the following correctly describes variable hoisting with 'let' and 'const'?
15.
What will happen if you declare a 'let' variable inside a block and try to access it outside the block?
16.
Can you redeclare a 'var' variable in a different scope without error?
17.
What happens when you redeclare a variable with 'var' inside a function?
18.
Why is it recommended to use 'let' and 'const' over 'var' in modern JavaScript?
19.
Which of the following statements about 'let' and 'const' is false?
20.
What will happen if you try to use a variable before declaring it with 'let'?