← All Questions

JavaScript Interview Questions

Interview questions covering javascript fundamentals.

01

JavaScript call, apply, bind methods

Learn call apply bind in JavaScript with clear examples, mental models, and common interview questions about the this keyword, context, and bind polyfills.

javascript
02

What is the Closure in JavaScript?

Understanding closures in JavaScript

javascript
03

Difference between cookie, sessionStorage, and localStorage

Understanding the differences between cookie, sessionStorage, and localStorage

javascript
04

What are the data types in JavaScript?

Understanding the data types in JavaScript

javascript
05

JavaScript Event Loop

Understanding how JavaScript's event loop, call stack, and task queue work together

javascript
06

Events: bubbling, capturing, propagation, delegation

Understanding events in JavaScript

javascript
07

Generators and Iterators in JavaScript

Understanding generators and iterators in JavaScript

javascript
08

Higher Order Functions

Understanding high order functions in JavaScript

javascript
09

Hoisting in JavaScript

Understanding hoisting in JavaScript

javascript
10

How does a browser render a webpage?

Understanding how a browser renders a webpage

javascript
11

Javascript Modules: AMD, CommonJS, ES6 Modules

Understanding javascript modules in JavaScript

javascript
12

Memory Management and Garbage Collection in Javascript

Understanding memory management and garbage collection in JavaScript

javascript
13

Pass by value and reference

Understanding pass by value and reference in JavaScript

javascript
14

Understanding Promise in JavaScript

Understanding promise, promise chain, promise.all vs promise.race in JavaScript

javascript
15

Prototypes

Understanding prototypes in JavaScript

javascript
16

Pure and Impure functions

Understanding pure and impure functions in JavaScript

javascript
17

Scope, Lexical Environment, Execution Context

Understanding scope, lexical environment, and execution context in JavaScript

javascript
18

Difference between script, script-async, script-defer

Understanding the differences between script, script-async, script-defer

javascript
19

this keyword in javascript

Understanding the this keyword in JavaScript

javascript
20

What happens when you type URL in browser

Understanding what happens when you type URL in browser

javascript
21

var, let, and const

Understanding the differences between var, let, and const in JavaScript

javascript