JavaScript Developer — Hard
Key points
- Variables in the TDZ are hoisted but not initialized
- Accessing them before declaration results in a ReferenceError
- This behavior is specific to let/const declarations in JavaScript
Ready to go further?
Related questions
