AKASH TYAGI’s Post

Preparing for Frontend Developer (SDE) interviews? 1. What is an execution context, and how does the call stack work? 2. Explain lexical scoping and how JavaScript determines variable access. 3. How does the temporal dead zone (TDZ) affect variable usage? 4. What is hoisting, and how does it differ for `var`, `let`, and `const`? 5. Difference between global, function, and block scope? 6. How do closures work internally, and when should you use them? 7. What are shadowed variables, and how can they cause bugs? 8. How does scope chaining help in variable resolution? 9 What are memory contexts, and how do they relate to garbage collection? 10. What causes memory leaks, and how can they be prevented? 11. How does garbage collection work in modern JS engines? 12. What are WeakMap and WeakSet, and how do they help? 13 Explain deep copy vs shallow copy in JavaScript. 14 What is debouncing vs throttling, and when to use each? 15. Difference between call stack and memory heap? 16. What is tail call optimization, and how does it improve performance? 17. How to detect and fix performance bottlenecks? 18. Difference between Set, Map, WeakMap, and WeakSet? 19. How does event delegation improve memory and performance? 20. Why is immutability important in modern JS? 21. What are side effects, and how to handle them effectively? 22. How does strict mode (`'use strict'`) change execution? 23. What is temporal coupling, and how can modular design reduce it? 24. How do try-catch-finally and error handling work with async code? 25.What is prototype chaining, and how does inheritance work? #reactjs #javascript #interview #js #FrontendDevelopment #ReactJS

Great set of questions — really helpful for interview prep!

See more comments

To view or add a comment, sign in

Explore content categories