Question 1: What is the default scope of a variable declared using var in JavaScript?
Question 2: Which keyword allows block-level scoping in JavaScript?
Question 3: What will be the output of the following code?
Question 4: Which keyword prevents a variable from being reassigned after its initial assignment?
Question 5: What happens when you try to access a let variable before its declaration?
Question 6: In JavaScript, hoisting applies to which of the following?
Question 7: Which of the following is true about function declarations?
Question 8: What is the scope of a variable declared using const inside a function?
Question 9: What will be the output of the following code?
Question 10: Which of the following best describes hoisting in JavaScript?