JavaScript Concepts for Frontend Interviews

JavaScript concepts I’m revising before my Frontend interviews. Some of these are frequently asked, some help build strong fundamentals. What I’m focusing on: • Type coercion & how JavaScript behaves under the hood • let, var, const (TDZ, hoisting, reference errors) • Hoisting (functions vs variables) • Primitive vs non-primitive data types • Async JavaScript — Event Loop, microtask & macrotask queues • Closures (with practical examples) • Currying (normal & infinite) • IIFE • Arrow functions vs normal functions • this keyword in different contexts • Prototypes & prototypal inheritance • Array methods (map, filter, reduce, forEach) • for...of vs for...in • Callbacks, callback hell & higher-order functions • Promises, .then, .catch & Promise methods • Event bubbling, capturing & delegation • LocalStorage vs SessionStorage vs Cookies • Strict mode • Web Workers • call, apply, bind • Shallow vs deep copy • Object.freeze() vs Object.seal() • Debouncing & throttling • SOLID principles (in simple JS terms) • Common design patterns • Array, string & object methods • null vs undefined • Nullish coalescing operator (??) • Writing async code in different ways • Promises vs async/await • DOM vs BOM • setTimeout & setInterval (and how to stop them) • Generators & iterators • Improving JavaScript performance • ES6+ features • Classes, constructors & super • Fetch vs Axios • REST APIs vs GraphQL • Functional programming vs OOP • Core OOP concepts in JavaScript ✨ A few extra things I’m practicing alongside this: – Polyfills (bind, map, reduce) – Memory leaks & garbage collection – Immutability – Real interview & machine-coding questions Sharing this to stay accountable and maybe help someone else who’s also preparing. If you’re revising JS for interviews too — 👉 what concepts would you add to this list? #JavaScript #FrontendDevelopment #InterviewPrep #LearningInPublic #WebDevelopment #JSInterview #ReactJS #Developers #CodingLife

To view or add a comment, sign in

Explore content categories