- What is JavaScript?
- What is hoisting
- What is closures in JS
- What is event loop
- What is this keyword
- Virtual DOM vs Real DOM
- Explain the difference between let, const, and var.
- What is the difference between == and ===?
- Explain the difference between function declaration and function expression.
- How does the setTimeout function work?
Functions and scope
- Describe the differences between function, call , apply, and bind.
- What is a callback function?
- Explain the concept of a pure function
- What is the purpose of the arguments object in a function?
- How do you create a closure in JavaScript?
- What is the difference between a shallow copy and a deep copy?
- How does the call stack work in JavaScript?
- Explain the concept of function currying.
- How can you avoid callback hell in JavaScript?