
JavaScript › Variables, Hoisting & TDZ
What is the difference between var, let, and const in JavaScript?
technical
basic
Model Answer
Explain scope, hoisting, redeclaration, reassignment, and TDZ. Include a deep JavaScript explanation with definition, internal flow, project use case, edge cases, common mistakes, and likely follow-up questions around Variables, Hoisting & TDZ.
Sign up to see the full answer
Free account includes AI feedback, hints, mastery tracking, and 2,000+ questions.
What you get with OfferLoop
AI Practice & Feedback
Submit your answer, get instant AI scoring and improvement tips.
Full Model Answers
Detailed model answers with hints and explanations for every question.
Mastery Tracking
Track which questions you can answer confidently vs need practice.
2,000+ Questions
Behavioral, technical, system design, HR — all topics covered.