2. How does JS handles multithread operations?
- Using Web Workers
4. What is event loop?
7. What are callback functions. Why do we use them?
- A callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action.
- Callback function — MDN Web Docs Glossary: Definitions of Web-related terms | MDN (mozilla.org)
8. Explain Hosting?
9. What is IIFE?
10. Implement a function which takes three parameter - a callback function, delay time and a number n. Which call the function n number of times with delay time interval.
11. Which DS is used in implementing folder structure?
12. What is Block Scope?
- Scope — MDN Web Docs Glossary: Definitions of Web-related terms | MDN (mozilla.org)
13. How are objects created in JS?
14. Difference between == and ===.
15. Difference between Local and Session storage.
Local Storage: This read-only interface property provides access to the Document’s local storage object, the stored data is stored across browser sessions.
Session Storage objects can be accessed using the sessionStorage read-only property. The difference between sessionStorage and localStorage is that localStorage data does not expire, whereas sessionStorage data is cleared when the page session ends.
16. Difference between Async and Differ.
18. What is “this” in JS?
19. What new features were introduced in ES6?
- The let keyword
- The const keyword
- Arrow Functions
- The … Operator
- Map Objects
- Set Objects
- Default Parameters
- Function Rest Parameter
- String.includes(), etc.
If you like this post and find it helpful you can give me claps and do follow me😍!!