Interview-focused notes for JavaScript fundamentals, async behavior, object model, performance, and frontend architecture.
This folder is designed for preparation, not passive reading. Use it to revise quickly, study in a sane order, and build interview answers around language behavior, browser runtime details, and tradeoffs.
- Scope, hoisting, closures, and
this - Types, coercion, equality, and object behavior
- Prototypes, inheritance, classes, and the object model
- Event loop, promises, async/await, and concurrency basics
- Memory, performance, DOM behavior, and frontend architecture
- Start with this roadmap.
- Read the canonical topic notes in order.
- Prioritize the highest-yield topics if time is limited.
- Finish with the cheat sheet before interviews.
- Practice giving short spoken answers for each core concept.
| File | Purpose | When to Read |
|---|---|---|
| javascript-first-principle.md | Compilation, scope, hoisting | Start here |
| javascript-building-blocks.md | Types, coercion, equality | After foundations |
| javascript-structure.md | Closures, this, modules |
Core language prep |
| javascript-object-model.md | Prototypes, inheritance, classes | Mid-level prep |
| javascript-async.md | Event loop, promises, async patterns | High-priority interview topic |
| javascript-modern-toolkit.md | ES6+ syntax and modern APIs | Practical revision |
| javascript-performance-memory.md | Memory, GC, optimization | Advanced prep |
| javascript-advanced-frontend.md | DOM, browser APIs, rendering performance | Frontend-focused interviews |
| javascript-system-design.md | Frontend architecture and system design | Senior interviews |
| javascript-interview-cheat-sheet.md | Rapid-fire interview questions and model answers | Before interviews |
- javascript-first-principle.md
- javascript-building-blocks.md
- javascript-structure.md
- javascript-object-model.md
- javascript-async.md
- javascript-modern-toolkit.md
- javascript-performance-memory.md
- javascript-advanced-frontend.md
- javascript-system-design.md
- javascript-interview-cheat-sheet.md
If time is limited, prioritize these in order:
- Scope and hoisting
- Closures
thisbinding rules- Types and coercion
- Equality rules
- Event loop and microtasks
- Promises and async/await
- Prototypes and inheritance
- Memory leaks
- DOM performance
- What is hoisting?
- Difference between
var,let, andconst? - What is closure?
- What are truthy and falsy values?
- Difference between
==and===?
- Explain lexical scope.
- Explain the event loop.
- What is the prototype chain?
- How does
thiswork? - How do promises differ from callbacks?
- How does JavaScript handle concurrency with one thread?
- When does a function close over variables?
- What causes memory leaks in frontend apps?
- How would you reason about rendering performance?
- How would you structure a large frontend codebase?
- Read javascript-first-principle.md
- Read javascript-building-blocks.md
- Read javascript-structure.md
- Read javascript-async.md
- Finish with javascript-interview-cheat-sheet.md
- Cover core language first: first principle, building blocks, structure
- Review runtime behavior with javascript-async.md
- Revisit modern syntax in javascript-modern-toolkit.md
- Finish advanced topics: object model, performance, frontend, and system design
- End with javascript-interview-cheat-sheet.md
- Do not memorize definitions without examples
- Explain why language behavior happens, not just what happens
- Use async and object model notes to connect language and runtime questions
- Re-read only the topics you miss in mock interviews
Start from the roadmap, then use the topic files as canonical references instead of re-reading duplicated summaries.