This repository contains topic-wise JavaScript interview preparation.
Each file 📂 includes:
- 📚 Theory
- 🧑💻 Code examples
- ☠️ Common interview traps
-
1️⃣ Var v/s Let v/s Const
-
2️⃣ dataType and Type Coersion
-
3️⃣ Operators & Comparisons
-
4️⃣ scope and scope Chain
-
5️⃣ hoisting
-
6️⃣ Temporal Dead Zone (TDZ)
-
7️⃣ Execution Context
-
8️⃣ Function and Function Type
-
9️⃣ "this" keyword in JS
-
1️⃣0️⃣ call, bind and apply
-
1️⃣1️⃣ closures
-
1️⃣2️⃣ lexical environment
-
1️⃣3️⃣ currying
-
1️⃣4️⃣ event loop
-
1️⃣5️⃣ callbacks
-
1️⃣6️⃣ Promises
-
1️⃣7️⃣ Async & Await
-
1️⃣8️⃣ microTask v/s macroTask Queue
-
1️⃣9️⃣ objects and object method
-
2️⃣0️⃣ prototypes & prototype Chain
-
2️⃣1️⃣ Classes & Inheritance (ES6)
-
2️⃣2️⃣ Encapsulation, Abstraction, Polymorphism (JS)
-
2️⃣3️⃣ array methods deep dive
-
2️⃣4️⃣ string methods deep dive
-
2️⃣5️⃣ map, filter, reduce (with POLYFILLS)
-
2️⃣6️⃣ shallow copy vs deep copy
-
2️⃣7️⃣ dom & event Delegation
-
2️⃣8️⃣ memory leaks & garbage Collector
-
2️⃣9️⃣ modules commonjs vs esmodules
-
3️⃣0️⃣ debounce and throttle
-
3️⃣1️⃣ new keyword internal working
-
3️⃣2️⃣ promise API deepdive
-
3️⃣3️⃣ setTimeout Internals
-
3️⃣4️⃣ event propagation deep dive
-
3️⃣5️⃣ memoization
-
3️⃣6️⃣ polyfills master file
-
3️⃣7️⃣ weakMap v/s Map
-
3️⃣8️⃣ generator function
-
3️⃣9️⃣ Set & WeakSet
-
4️⃣0️⃣ Regular Expressions
-
4️⃣1️⃣ web API