Question
What will be the output?
console.log(a);
let a = 10;
Answer
Output: ReferenceError
let variables are hoisted but remain in the Temporal Dead Zone until initialization.
Key Points
This question tests your understanding of JavaScript internals and execution behavior. Interviewers often ask similar variations to evaluate debugging and reasoning skills.