Explain Hoisting in JavaScript

Instruction: Describe what hoisting is and how it works in JavaScript.

Context: This question tests the candidate's understanding of a fundamental JavaScript behavior that affects the way variables and functions are scoped.

Upgrade to view answer

Related Questions