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