0

Completed

0%

Progress

0

Starred

01

What is JavaScript? Explain its role in web development and key characteristics.

beginner#Basics
02

Explain the differences between var, let, and const in JavaScript. How do they affect variable scope and reassignment?

beginner#Variables & Scope
03

What are the primitive data types in JavaScript? Explain the difference between null and undefined.

beginner#Basics
04

What are the different ways to define functions in JavaScript? Compare function declarations, function expressions, and arrow functions.

beginner#Functions
05

Explain truthy and falsy values in JavaScript. How does type coercion work with equality operators (== vs ===)?

beginner#Basics
06

What is hoisting in JavaScript? How does it work with var, let/const, and function declarations?

beginner#Variables & Scope
07

What are common array methods in JavaScript? Explain map, filter, and reduce with examples.

beginner#Arrays
08

How do you create and manipulate objects in JavaScript? Explain object literal syntax, property access, and dynamic properties.

beginner#Objects
09

How do you select and manipulate DOM elements using JavaScript? Explain methods like getElementById, querySelector, and modifying content/attributes.

beginner#DOM
10

How does event handling work in JavaScript? Explain addEventListener, event object, and event propagation basics (bubbling and capturing).

beginner#DOM
11

What are Promises in JavaScript? Explain states (pending, fulfilled, rejected) and how to chain them using .then() and .catch().

beginner#Asynchronous JavaScript
12

How does async/await work in JavaScript? Explain how to handle errors with try/catch.

beginner#Asynchronous JavaScript
13

How do you make HTTP requests using the Fetch API? Explain response handling, JSON parsing, and error handling.

beginner#Browser APIs
14

What are ES6 modules? Explain import and export syntax and how they differ from script tags.

beginner#Modules
15

How does error handling work in JavaScript using try, catch, finally, and throw? Give an example with asynchronous code.

beginner#Error Handling
16

What are template literals in JavaScript? Explain string interpolation, multi-line strings, and tagged templates.

beginner#Basics
17

What is destructuring assignment in JavaScript? Provide examples for arrays and objects.

beginner#Variables & Scope
18

Explain the spread and rest operators (...) in JavaScript. How are they used in arrays, objects, and function parameters?

beginner#Variables & Scope
19

How does localStorage and sessionStorage work in web browsers? Explain use cases and limitations.

beginner#Browser APIs
20

Compare different looping mechanisms in JavaScript: for, for...of, for...in, forEach, and while loops.

beginner#Basics
21

What is the 'this' keyword in JavaScript? How does its value differ in global scope, function context, and arrow functions?

beginner#Functions
22

How do you parse and stringify JSON in JavaScript? Explain JSON.parse() and JSON.stringify() with examples.

beginner#Objects
23

Explain explicit and implicit type conversion in JavaScript. Provide examples of converting to string, number, and boolean.

beginner#Basics
24

What is a closure in JavaScript? Provide a simple example and explain lexical scoping.

beginner#Functions
25

How do setTimeout and setInterval work in JavaScript? Explain their asynchronous nature and how to clear them.

beginner#Asynchronous JavaScript
26

What are closures in JavaScript? Explain how they work with practical examples and discuss memory implications.

intermediate#Closures & Scope
27

Explain the prototype chain in JavaScript. How does prototypal inheritance differ from classical inheritance?

intermediate#JavaScript Internals
28

What are call, apply, and bind? How do they differ and when would you use each?

intermediate#Functions
29

What is event delegation? How does it work and why is it useful? Provide an example.

intermediate#DOM & Events
30

Explain debounce and throttle. Provide implementation examples and use cases.

intermediate#Performance Optimization
31

Explain the JavaScript execution context. What is the event loop and how do microtasks and macrotasks differ?

intermediate#Execution Context & Event Loop
32

What are common memory leaks in JavaScript applications? How to detect and fix them?

intermediate#Memory Management
33

What is the difference between deep copy and shallow copy? How to implement each in JavaScript?

intermediate#Objects & Data Structures
34

Compare ES modules (import/export) with CommonJS (require/module.exports). What are the key differences in loading, syntax, and usage?

intermediate#Modules
35

What are WeakMap and WeakSet? How do they differ from Map and Set, and when should you use them?

intermediate#Objects & Data Structures
36

What are Symbols in JavaScript? How are they used as unique property keys and well-known symbols?

intermediate#Asynchronous JavaScript
37

What are iterators and generators in JavaScript? Provide examples and explain their relationship with the iteration protocol.

intermediate#Asynchronous JavaScript
38

How does AbortController work? Demonstrate canceling fetch requests and other async operations.

intermediate#Asynchronous JavaScript
39

What are common JavaScript performance optimization techniques? Explain reflow, repaint, and how to minimize layout thrashing.

intermediate#Performance Optimization
40

How does the MutationObserver API work? Compare it with deprecated DOM events and provide a use case.

intermediate#Browser APIs
41

What is IntersectionObserver? How does it improve scroll performance compared to scroll event listeners?

intermediate#Browser APIs
42

What is the Node.js event loop? Explain its phases and how it differs from the browser event loop.

intermediate#Node.js
43

Explain Node.js Streams. What are the types of streams (Readable, Writable, Duplex, Transform) and how do you handle backpressure?

intermediate#Node.js
44

Compare IndexedDB, localStorage, and sessionStorage. When would you use IndexedDB over other storage mechanisms?

intermediate#Storage APIs
45

What is Promise.all, Promise.allSettled, Promise.race, and Promise.any? Provide examples and use cases.

intermediate#Async Patterns
46

How does JIT compilation work in JavaScript engines (e.g., V8)? Explain the role of Ignition, Sparkplug, and TurboFan.

advanced#JavaScript Internals
47

Explain garbage collection in JavaScript (mark-and-sweep, generational collection). How do memory leaks occur and how to use WeakRef and FinalizationRegistry?

advanced#Memory Management
48

How do Web Workers and SharedArrayBuffer work? Explain Atomics for synchronization and their use cases.

advanced#Concurrency
49

Explain inline caching and hidden classes in JavaScript engines. How do they optimize property access and what coding patterns should you follow?

advanced#Performance Optimization
50

How does the event loop interact with the microtask and macrotask queues in different environments (browser vs Node.js)? Explain event loop starvation.

advanced#JavaScript Internals
51

What are Proxies and Reflect in JavaScript? Explain advanced use cases like validation, logging, and reactive systems.

advanced#JavaScript Internals
52

How would you implement a custom Promise from scratch? Explain the core components (resolve, reject, then, chaining).

advanced#Async Architecture
53

What are polyfills and transpilers? Explain how Babel works (AST, transforms, and polyfill injection).

advanced#JavaScript Internals
54

Explain module bundling internals (Webpack, Vite). How do they resolve dependencies, handle code splitting, and optimize production builds?

advanced#Architecture Patterns
55

How does the libuv thread pool work in Node.js? Explain how it handles async I/O and which operations use the pool vs native async.

advanced#Node.js Internals
56

How does the Node.js cluster module work? Explain multi-process architecture, load balancing, and differences from worker threads.

advanced#Node.js
57

Explain backpressure in Node.js streams. How does pipe() handle it and how to implement custom backpressure handling?

advanced#Backpressure & Streams
58

What are common JavaScript security vulnerabilities (XSS, CSRF, prototype pollution)? How to prevent them in production apps?

advanced#Security Patterns
59

How do you architect a production-grade Node.js application? Discuss error handling, logging, monitoring, and graceful shutdown.

advanced#Production Scaling
60

Explain advanced JavaScript design patterns: Module, Singleton, Factory, Observer, and their modern ES6+ implementations.

advanced#Design Patterns
61

What are critical rendering path optimizations? How do you reduce layout shifts and improve Core Web Vitals (LCP, FID, CLS)?

advanced#Performance Optimization
62

How do you implement a reactive system using Proxies (similar to Vue 3)? Explain dependency tracking and effect scheduling.

advanced#Architecture
63

What are the Temporal API and other modern JavaScript proposals (Records/Tuples, Decorators, Pipeline operator)? Explain how they improve the language.

advanced#Modern APIs
64

Explain compositing layers in the browser and how to use will-change, transform, and opacity for GPU acceleration.

advanced#Rendering & Compositing
65

Explain how JavaScript engines optimize array operations: packed vs holey arrays, SMI vs double elements, and array methods performance.

advanced#JavaScript Internals