🟨 JavaScript & TypeScript path
JavaScript interview questions and study guide
12 lessons from beginner to advanced. Each lesson explains the concept, shows a worked example and lists the follow-up questions interviewers ask next.
Start with lesson 1 →Beginner 4 lessons
- What is the difference between var, let and const?
- What is a closure? Give a practical use.
- What is the difference between == and ===? What are truthy and falsy values?
- What is event delegation and how do bubbling and capturing work?
Intermediate 6 lessons
- Explain the event loop, the call stack, microtasks and macrotasks.
- How does `this` work in JavaScript?
- Explain prototypes and prototypal inheritance. How do ES6 classes relate?
- Promises vs async/await. How do you handle errors and run work in parallel?
- Explain shallow copy vs deep copy. How do you clone an object correctly?
- What are ES modules? Compare them with CommonJS, and explain tree shaking.