1.
What is the result of redeclaring a variable with 'var' in the same scope in JavaScript?
2.
Can you redeclare a 'let' variable in the same scope in JavaScript?
3.
What happens if you try to redeclare a 'const' variable in JavaScript?
4.
Which of the following correctly describes variable hoisting with 'var'?
5.
Given 'var a = 1; var a = 2;', what is the value of 'a' after these statements execute?
6.
How does 'let' differ from 'var' in terms of scope?
7.
What will be the result of executing 'let x = 1; let x = 2;' in the same scope?
8.
Which of the following statements is true regarding redeclaring variables in JavaScript?
9.
In which scenario would redeclaring a variable with 'var' lead to an unintended consequence?
10.
What does 'TDZ' stand for in the context of JavaScript?