Direction: Choose the correct option
Q1.
Which of the following best describes a JavaScript closure?
Direction: Choose the correct option
Q2.
Which loop is best suited for iterating over arrays?
Direction: Choose the correct option
Q3.
What will be the output of the following JavaScript code?
let x = 10;
let y = "10";
console.log(x === y);
Direction: Choose the correct option
Q4.
What is the output of the following JavaScript code?
console.log(typeof undefined);
Direction: Choose the correct option
Q5.
Which keyword is used to declare a block-scoped variable?
