JavaScript Arrays for Interviews: map/filter/reduce + Time Complexity
A deep, interview-ready guide to JavaScript arrays: core methods, common patterns, time/space complexity, mutation pitfalls, and practical questions with solutions.
Practice
Search by concept, narrow to a roadmap, or pick a tag to focus on the exact topic you want to rehearse.
103 articles · page 8 of 12
A deep, interview-ready guide to JavaScript arrays: core methods, common patterns, time/space complexity, mutation pitfalls, and practical questions with solutions.
A deep, practical guide to error handling in JavaScript for frontend interviews: sync vs async errors, try/catch with async/await, custom error classes, cause, and user-friendly error patterns.
A deep, interview-ready guide to JavaScript equality: == vs ===, truthy/falsy, ToPrimitive coercion, Object.is, NaN, -0, and common output questions.
A deep, interview-ready guide to JavaScript modules: ESM vs CommonJS, named vs default exports, live bindings, top-level await, Node/browser differences, and common pitfalls.
A practical guide to prototypes in JavaScript: prototype chain, __proto__ vs prototype, new operator, inheritance patterns, and common interview questions.
Interview-ready guide to debounce vs throttle: how they work, when to use each, and clean JavaScript implementations (with leading/trailing options).
A practical guide to Map/Set and WeakMap/WeakSet: key differences, memory behavior, real use cases, and common interview questions with examples.
A practical guide to frontend memory leaks: the most common causes (listeners, timers, DOM refs, closures), how to detect them in Chrome DevTools, and how to fix them.
Interview-focused async/await guide: how await works, common mistakes, parallelizing with Promise.all, error handling patterns, and when to avoid await-in-loop.