Learning Partner

Other Companies (Name Not Shared) React.js Interview Questions for Not specified

Shared question set for Not specified of experience, Advanced JavaScript. Topics and wording follow the supplied notes; these are questions, not official company guidance.

  1. How does the event loop work? Microtasks vs macrotasks?
  2. What happens internally when you use async/await?
  3. How does JavaScript execute code using the call stack and execution context?
  4. What are closures, and how can they cause memory leaks?
  5. How does this behave in regular functions, arrow functions and classes?
  6. Explain prototypal inheritance and the prototype chain.
  7. What are lexical scope and the Temporal Dead Zone?
  8. What is the difference between Object.freeze(), Object.seal() and Object.preventExtensions()?
  9. How do call(), apply() and bind() work?
  10. What are iterators, generators and Symbol.iterator?
  11. Implement Promise.all() from scratch.
  12. What is the difference between Promise.all(), Promise.race(), Promise.any() and Promise.allSettled()?
  13. How do you handle race conditions in asynchronous code?
  14. Debouncing vs throttling: when should you use each?
  15. How does AbortController help cancel ongoing requests?
  16. Implement a deep clone function.
  17. Implement a custom bind() function.
  18. Shallow copy vs deep copy: what are the differences?
  19. What is the difference between Map, Set, WeakMap and WeakSet?
  20. How does garbage collection work, and what causes memory leaks?

Browse React.js question sets