FineFrontend
Getting Started
Practice
Contact
Toggle theme
GU
Open navigation menu
Loading...
Open practice navigation
Loading...
Loading...
Home
Practice
Interview Questions
JavaScript
JavaScript Interview Questions
Core concepts, async, prototypes, and advanced patterns.
Basic
48
Intermediate
23
Advanced
29
01
What is JavaScript?
02
What are the data types in JavaScript?
03
What is the difference between let, const, and var?
04
What is hoisting?
05
What is the DOM?
06
What is an event listener?
07
What is the difference between == and ===?
08
What is NaN?
09
Explain undefined vs null.
10
How do you add an element to an array?
11
What is a closure?
12
What is an arrow function?
13
What does 'use strict' do?
14
How do you check the type of a variable?
15
What is the purpose of the this keyword?
16
What are template literals?
17
What is JSON?
18
How do you convert a string to a number?
19
What is a promise?
20
What is the spread operator?
21
What is object destructuring?
22
How do you empty an array?
23
What is the difference between map() and forEach()?
24
What is a callback function?
25
What is strict mode?
26
How does setTimeout() work?
27
How does setInterval() work?
28
What is DOM delegation?
29
What is the purpose of Array.isArray()?
30
What does the isNaN() function do?
31
Explain the difference between document.getElementById and document.querySelector.
32
What is event bubbling?
33
What is event capturing?
34
How do you prevent default event behavior?
35
How do you stop event propagation?
36
What are default parameters?
37
What is the difference between innerHTML and innerText?
38
How do you parse a JSON string?
39
How do you convert an object to a JSON string?
40
What is the window object?
41
What is a module in JavaScript?
42
What is the Math object?
43
How do you generate a random number?
44
What is the Date object?
45
How do you get the current time?
46
What is local storage?
47
What is session storage?
48
What is a cookie in JavaScript?