FE Interview Hub
Questions
AI Interview
ZH
Sign in with Google
All
JavaScript
Vue 3
CSS
Network Security
HTML
Web Vitals
Browser Internals
Behavioral Interview
CATEGORY
JavaScript
30
What is the Event Loop? Explain the relationship between Call Stack and Task Queue
JavaScript
Advanced
What is the Prototype Chain? How does JavaScript inheritance work?
JavaScript
Intermediate
What is a Closure?
JavaScript
Basic
What is 0.1 + 0.2 in JavaScript? Why? How to avoid floating-point issues?
JavaScript
Intermediate
What are the differences between null, undefined, and undeclared?
JavaScript
Basic
What are the data types in JavaScript? How do you identify a variable's data type?
JavaScript
Basic
What are the differences between Set, Map, WeakSet, and WeakMap?
JavaScript
Intermediate
What are the differences between Map and Object? Why use Map when Object exists?
JavaScript
Intermediate
What are the differences between var, let, and const in JavaScript?
JavaScript
Basic
What is strict mode (use strict)? What are its benefits?
JavaScript
Basic
What is Hoisting in JavaScript?
JavaScript
Basic
JavaScript Array Iteration Methods (for loop, for...in, for...of, forEach, map, filter, every, some)
JavaScript
Basic
How do you calculate the average of an array in JavaScript?
JavaScript
Basic
What are Scope and Scope Chain in JavaScript?
JavaScript
Intermediate
What are the differences between ==, ===, and Object.is() in JavaScript?
JavaScript
Basic
Explain the value of 'this' in JavaScript
JavaScript
Intermediate
What is a Higher-Order Function?
JavaScript
Basic
What is an IIFE (Immediately Invoked Function Expression) in JavaScript? What are the pros and cons?
JavaScript
Basic
What are the differences between arrow functions and regular functions in JavaScript?
JavaScript
Basic
In JavaScript, does sort with (a,b) ⇒ b - a produce ascending or descending order? Why?
JavaScript
Basic
What is ES6 class? How does it differ from function constructors?
JavaScript
Intermediate
What is Promise.all? Please implement Promise.all
JavaScript
Intermediate
How do you use call, apply, and bind in JavaScript?
JavaScript
Intermediate
What is a Promise in JavaScript? What is it used for?
JavaScript
Intermediate
What is Promise.race()? How do you implement it?
JavaScript
Intermediate
What is the difference between shallow copy and deep copy in JavaScript? How do you implement them?
JavaScript
Intermediate
What are the new features in ES2023?
JavaScript
Basic
Implement array flattening (flatten)
JavaScript
Intermediate
Why is structuredClone recommended for deep copying in JavaScript?
JavaScript
Intermediate
What are the new features in ES6?
JavaScript
Basic
Home
Questions
AI
Profile