11.
What keyword is used to declare variables in JavaScript?
12.
Which of the following statements is true about the let keyword in JavaScript?
13.
What is the purpose of using the const keyword in JavaScript?
14.
Which keyword is used to declare a variable that cannot be reassigned in JavaScript?
15.
What will happen if you try to reassign a value to a constant declared with const in JavaScript?
16.
Which of the following variable names is valid in JavaScript?
17.
What is the outcome of console.log(typeof x); if x is declared but not initialized in JavaScript?
18.
What does hoisting refer to in JavaScript variable declarations?
19.
What is the difference between var and let in terms of scope in JavaScript?
20.
What will console.log(a); output if a is declared outside a function but inside a block using let in JavaScript?