Loading…
82+ curated questions with the same answer shape every time: quick recap, deep dive, pitfalls, and follow-ups. Coverage includes variables scope hoisting, closures and iife, prototypes and inheritance, arrow functions this, and more.
Suggested path
Topics follow a teaching order. Each answer ends with a clear Next question control so you can move forward without hunting the list.
JavaScript is the language of the web, and fullstack Java developers are expected to be as comfortable in JS as in Java. This module covers the concepts freshers consistently underestimate: closures (why the counter increment works, and why the loop closure gotcha trips people up), how 'this' behaves in arrow functions vs regular functions, the event loop and why setTimeout(fn, 0) doesn't run immediately, and the async/await model built on top of Promises. Every concept is paired with the exact question an interviewer will ask: 'What is a closure?', 'What is the difference between == and ===?', 'Explain the event loop.'
Full catalog
Topics are ordered for learning. Within each topic, rows are numbered 1–82 globally so you always know where you are. Collapse topics if you want a lighter view — use Expand all when you need the full list again.
Numbers 1–82 follow the order we recommend — click any row to open the full answer, or use the sticky Next link at the bottom of each page to go Q1 → Q82.