JavaScript Interview Preparation Guide
Must-Know Core JavaScript (Refresh These Topics)
1. Data Types & Type Coercion
2. typeof, null vs undefined
3. == vs ===
4. Variable Declarations
5. Difference between var, let, and const
6. Temporal Dead Zone
7. Hoisting
8. Function and variable hoisting behavior
9. Scope
10. Global vs Local scope
11. Function scope vs Block scope
12. Closures
13. How they work and common use cases
14. Immediately Invoked Function Expressions (IIFE)
15. this Keyword
16. How this behaves in different contexts
17. Prototype & Prototypal Inheritance
18. Strict Mode ('use strict')
Intermediate-Level JavaScript (For 2-4 Years Exp)
1. Higher-Order Functions
2. map, filter, reduce, forEach
3. Callback Functions & Asynchronous Programming
4. setTimeout, setInterval
5. Callback Hell
6. Promises
7. Creating, chaining, and error handling
8. async/await
9. Error handling with try...catch
10. Event Loop & Concurrency Model
JavaScript Interview Preparation Guide
11. Microtasks vs Macrotasks
12. Event Bubbling, Capturing & Delegation
13. JavaScript Modules
14. import, export, ES Modules vs CommonJS
15. Destructuring & Spread/Rest Operators
16. Template Literals
17. Currying Functions
18. Debouncing & Throttling
Advanced JavaScript (For Interview Edge)
1. Memory Management
2. Garbage collection
3. Leaks and performance considerations
4. Shallow vs Deep Copy
5. Using Object.assign, spread, and structuredClone
6. Closures and Memory Leaks
7. Generators & Iterators
8. WeakMap & WeakSet
9. Call, Apply, and Bind
10. Custom Polyfills
11. For map, bind, or Promise
12. Observer Pattern / Pub-Sub Pattern
13. Event Loop Deep Dive (Job Queue vs Call Stack)
14. Optional Chaining & Nullish Coalescing (?., ??)
Bonus: Practical Application-Focused Topics
1. DOM Manipulation without frameworks
2. Browser APIs (localStorage, fetch, history API)
3. Form validation and event handling
4. Error handling and debugging techniques
5. Writing reusable components and utility functions
JavaScript Interview Preparation Guide
6. JavaScript Design Patterns (Factory, Singleton, Observer)
Pro Tips to Prepare
1. Practice with code snippets and not just theory.
2. Prepare 2-3 real-world problems where you used async/await, map/reduce, or handled complex state.
3. Be ready to whiteboard or do live coding with array and object transformations.
4. Understand how JS runs in the browser (event loop, memory model, call stack).