1.
What keyword is used to declare variables in JavaScript?
2.
Which of the following statements is true about the let keyword in JavaScript?
3.
What is the purpose of using the const keyword in JavaScript?
4.
Which keyword is used to declare a variable that cannot be reassigned in JavaScript?
5.
What will happen if you try to reassign a value to a constant declared with const in JavaScript?
6.
Which of the following variable names is valid in JavaScript?
7.
What is the outcome of console.log(typeof x); if x is declared but not initialized in JavaScript?
8.
What does hoisting refer to in JavaScript variable declarations?
9.
What is the difference between var and let in terms of scope in JavaScript?
10.
20 MCQ on Declaring (Creating) JavaScript Variables in 2000 words with example. in excel format with Question in Col A, Option A in Col B, Option B in col C, Option C in col D, Option D in col e, Right Answer in col f, Solution with explanation in col g without sno and options a,b,c,d and put all html tags in special container