All Topics/JavaScript
41 of 41 questions
// Interview Deck · JAVASCRIPT

JavaScript

Closures, hoisting, event loop, async patterns, and the core language concepts behind every framework.

01
Beginner

Difference between var, let, and const?

Card #1
02
Beginner

What is hoisting in JavaScript?

Card #2
03
Beginner

What is a closure? Give an example.

Card #3
04
Intermediate

How does the 'this' keyword behave in different contexts?

Card #4
05
Advanced

Explain the event loop, call stack, and microtasks vs macrotasks.

Card #5
06
Intermediate

What is a Promise and what are its states?

Card #6
07
Intermediate

Explain async/await and how it relates to Promises.

Card #7
08
Beginner

What is a callback function and what is 'callback hell'?

Card #8
09
Beginner

What is a higher-order function?

Card #9
10
Beginner

Explain map, filter, and reduce.

Card #10
11
Beginner

Difference between == and ===?

Card #11
12
Beginner

Explain scope — global, function, and block scope.

Card #12
13
Intermediate

What is the Temporal Dead Zone (TDZ)?

Card #13
14
Beginner

Difference between arrow functions and regular functions?

Card #14
15
Beginner

Difference between null and undefined?

Card #15
16
Intermediate

What is type coercion in JavaScript?

Card #16
17
Intermediate

Difference between event bubbling and event capturing?

Card #17
18
Intermediate

What is event delegation?

Card #18
19
Intermediate

Difference between debounce and throttle?

Card #19
20
Advanced

Explain the prototype and prototypal inheritance.

Card #20
21
Intermediate

Difference between call, apply, and bind?

Card #21
22
Beginner

Difference between spread and rest operator?

Card #22
23
Beginner

What is destructuring in JavaScript?

Card #23
24
Beginner

What are template literals?

Card #24
25
Beginner

Difference between map and forEach?

Card #25
26
Intermediate

What are Set and Map objects?

Card #26
27
Intermediate

Difference between shallow copy and deep copy?

Card #27
28
Intermediate

What are pure functions and why does immutability matter?

Card #28
29
Beginner

How does try/catch/finally work for error handling?

Card #29
30
Intermediate

What is an IIFE (Immediately Invoked Function Expression)?

Card #30
31
Beginner

How do you access localStorage and sessionStorage using JS?

Card #31
32
Beginner

Difference between setTimeout and setInterval?

Card #32
33
Advanced

What is currying in JavaScript?

Card #33
34
Advanced

What is memoization?

Card #34
35
Intermediate

What are optional chaining and nullish coalescing?

Card #35
36
Intermediate

Difference between ES Modules (import/export) and CommonJS (require)?

Card #36
37
Beginner

What is NaN and how do you check for it?

Card #37
38
Advanced

What are generators and iterators?

Card #38
39
Advanced

What is the Symbol data type?

Card #39
40
Beginner

What is 'use strict' and what does it do?

Card #40
41
Beginner

Difference between 'not defined' and undefined?

Card #41