JavaScript Interview Questions
Mandatory JavaScript topics to cover before your frontend interview-
1. How does JavaScript work / Event loop
2. Execution context
3. Hoisting
4. Scope chain
5. Var, let, const, temporal dead zone
6. this keyword
7. call, apply, bind
8. Closure
9. Constructor functions, classes
10. Prototypal inheritance
11. Implement debounce
12. Implement throttle
13. Polyfill for map, reduce, filter, forEach
14. Polyfill for call, apply, bind
15. Polyfill for flat method
16. Infinite depth flatten and flatten by a certain number
17. Implement both recursive and iterative approaches
18. Currying
19. Given an object make the keys as values and values as keys. Handle duplicates, assuming values are only strings
20. Implement observable (not very common, good to have)
21. Promises
22. Polyfill for promises
23. Polyfill for Promise. all , allsettled and other methods
24. Implement curry
25. Spread, rest, destructuring
26. Event delegation and event bubbling
27. Implement setInterval using setTimeout
28. Memoize any function
29. Implement async series
30. Generator functions
These are interview essentials. Master these topics for a solid performance in web development interviews.
If you want to get into product companies or unicorn Startups, feel free to contact me for a Long Term Mentorship Program at https://www.preplaced.in/profile/aman-jaiswal.
Don't hesitate, schedule a free 1:1 session today to kickstart your journey!
Happy Coding
https://www.linkedin.com/in/aman-jaiswal-5319a0127/