Q. What will be the output of the code below?
Code:let a; console.log(a === undefined);
β
Correct Answer: (A)
true
Explanation: A variable declared but not initialized is `undefined` in JavaScript. Therefore, the comparison `a === undefined` returns `true`.