tech-interview

What is memory leak? Give an example

What is hoisting?

What is the Temporal Dead Zone?

What is pooling?

What does asynchronous mean?

What is memoization?

What are data types in JavaScript?

What are primitive data types?

What is the difference between primitives vs objects?

What is coercion in JavaScript?

Do you know what Autoboxing in JS is?

What is the difference between == and === operators?

What is undefined data type?

What is null value?

What does isNaN function do?

What does NaN value mean?

What is the difference between null and undefined?

How do you copy properties from one object to another?

What are classes in ES6?

Explain how prototypal inheritance works?

How do you assign default values to variables?

What is the difference between let, const, and var?

What are the differences between undeclared and undefined variables?

What are global variables?

What is Hoisting?

What is scope in JavaScript?

What is a closure?

How does closure implemented in JavaScript?

What is the difference between Call, Apply, and Bind?

What does ‘this loses context’ mean?

What is JSON and its common operations?

How do you parse a JSON string?

What is the purpose of JSON.stringify?

What array methods do you know?

What is the difference between Array.forEach() and Array.map()?

What are lambda or arrow functions?

What is a pure function?

What is IIFE (Immediately Invoked Function Expression)?

What is a callback function?

What is a promise? Why do we need a promise?

List all states of a promise?

Why do we need callbacks?

What is a callback hell?

What is promise chaining?

What is the purpose of using setTimeout?

What is the purpose of using setInterval?

What is an event loop?

What is the call stack?

How do you validate an email in JavaScript?

What are modules? Why do you need modules?

What is a rest operator?

What is a spread operator?

What is Node.js?

What is the difference between window and document?

Array methods

slice vs splice

Functions

What are lambda or arrow functions?

What is a first-class function?

What is a callback function?

What is a pure function?

What is a higher-order function?

Events

Event.target vs event.currentTarget

stopPropagation() vs stopImmediatePropagation()

Differents between load and DOMContentLoaded?