JavaScript Core Interview Preparation
JavaScript interviews test whether you understand how the language actually runs โ not just syntax. Expect output questions, polyfill challenges, and โexplain this codeโ moments.
What Interviewers Look For
- Closures, scope, and the
thiskeyword - Event loop, microtasks vs macrotasks
- Prototypes and inheritance
- ES6+ features used correctly (not just copied from Stack Overflow)
- Ability to implement common utilities from scratch
Files in This Section
| File | Purpose |
|---|---|
| topics-not-to-miss.md | Must-know concepts checklist |
| interview-questions.md | 30+ questions with full answers |
| tricky-output-questions.md | 15+ output prediction problems |
| polyfills.md | Implement map, bind, debounce, etc. |
| coding-questions.md | 15 hands-on coding problems |
| common-mistakes.md | What students get wrong |
| revision-sheet.md | One-page cram before interview |
| mock-interview.md | 45-minute practice flow |
Study Order
topics-not-to-miss.mdโ identify gapsinterview-questions.mdโ 5 questions/day, out loudtricky-output-questions.mdโ predict output before scrolling to answerspolyfills.mdโ write each polyfill without looking, then comparecoding-questions.mdโ solve 2โ3 problems per daymock-interview.mdโ practice with a friendrevision-sheet.mdโ day before interview
Time Estimate
- Minimum viable prep: 5โ7 days
- Solid prep: 2 weeks (with polyfills + coding problems)
Project Connection
Be ready to explain: async data fetching in your project, how you handled state, any utility functions you wrote, and one bug you debugged that taught you something about JS internals.