JavaScript Interview Questions and Answers
- Difference Between null and undefined
- Strict Mode in JavaScript
- Differences Between Arrow Function, Function Declaration and Function Expression
- Data Types in JavaScript
- Set, Map, WeakSet and WeakMap in JavaScript
- How Event Loop Works in JavaScript?
- Event Propagation in JavaScript and Its Phases
- this Keyword in JavaScript
- call, apply and bind Methods in JavaScript
- Promises in JavaScript, Promise Methods
- Promise Chaining in JavaScript
- Async/Await in JavaScript
- Prototypes and Prototypal Inheritance
- OOP in JavaScript JavaScript
- What is Proxy Object in JavaScript
- Differences Between var, let and const
- Hoisting in JavaScript
- Scope in JavaScript
- Lexical Environment in JavaScript
- Static Methods in JavaScript
- Spread and Rest Operators in JavaScript
- What are Higher-Order Functions in JavaScript
- Currying in JavaScript
- IIFE (Immediately Invoked Function Expression)
- Difference Between event.target and event.currentTarget
- Boxing and Unboxing in JavaScript
- What is arguments Pseudo-array in JavaScript
- Difference Between in Operator and hasOwnProperty() Method in JavaScript
- What is Temporal Dead Zone (TDZ)?
- Event Delegation
- Difference Between event.preventDefault() and event.stopPropagation()
- What is NaN in JavaScript?
- How to Copy an Object in JavaScript?
- What are Generators in JavaScript?
- What is Garbage Collector in JavaScript?
- What is a Polyfill?
- Recursion in JavaScript
- How to Get All Object Keys and Values in JavaScript
- JavaScript Array Methods: Mutating and Non-Mutating
- What is Symbol.iterator and Why is it Needed
- Why instanceof Operator is Needed in JavaScript
- requestAnimationFrame and requestIdleCallback in JavaScript
- Difference Between Primitives and Non-Primitives in JavaScript
- How to Add a Task to Microtask Queue with queueMicrotask
- Debounce and Throttle in JavaScript
- Closures in JavaScript
- Promise.all, Promise.race, Promise.allSettled, Promise.any
- Memoization in JavaScript
- JSON.parse and JSON.stringify in JavaScript