FrontendPrep
Menu
Topics
Questions
Guides
Challenges
Soon
Topic Directory

JavaScript Questions

Master your JavaScript fundamentals, advanced mechanics, and ace your frontend interview challenges.

JavaScript Stats
18questions loaded
5 Easy7 Medium6 Hard
Show
Sort

Showing 18 of 18 questions

JavaScriptMedium

JavaScript Async/Await Interview Questions

Master JavaScript async/await interview questions with practical examples. Learn how async functions, await, promises, error handling, concurrency, and the event loop work under the hood.

JavaScriptAsync AwaitPromises+2
12 min read
View
JavaScriptEasy

JavaScript: call vs. apply vs. bind

Explain explicit function context binding in JavaScript. Learn the differences between call, apply, and bind, and how to write a custom polyfill for bind.

JavaScriptFunctionsContext
6 min read
View
JavaScriptHard

JavaScript Closures Interview Questions

Master JavaScript closures interview questions with practical examples. Learn lexical scope, closure creation, data privacy, memory implications, common interview traps, and real-world frontend use cases.

JavaScriptClosuresFunctions+2
14 min read
View
JavaScriptMedium

JavaScript: Currying and Partial Application

Understand currying and partial application in JavaScript. Learn how they differ, how closures enable them, and how to write a function that performs infinite currying.

JavaScriptFunctionsClosures
7 min read
View
JavaScriptMedium

Implement Debounce with Immediate Flag in JavaScript

Learn how to implement debounce with an immediate flag (leading edge execution) in JavaScript. Understand real-world frontend use cases, React examples, interview questions, and production-ready code.

JavaScriptPerformanceDebounce+2
8 min read
View
JavaScriptMedium

Debounce vs Throttle Interview Questions

Learn debounce vs throttle with frontend performance interview examples and JavaScript implementations. Understand when to use each technique, how they work internally, and common interview questions.

JavaScriptPerformanceDebounce+2
12 min read
View
JavaScriptEasy

JavaScript: Event Bubbling, Capturing, and Delegation

Master DOM event propagation, event capturing, event bubbling, and learn how event delegation improves web application memory usage and handles dynamic elements.

JavaScriptDOMPerformance
6 min read
View
JavaScriptHard

JavaScript Event Loop Interview Questions

Master JavaScript Event Loop interview questions with practical examples. Learn the call stack, Web APIs, callback queue, microtasks, macrotasks, promises, async/await, and execution order.

JavaScriptEvent LoopAsynchronous JavaScript+2
16 min read
View
JavaScriptHard

JavaScript: Iterators, Generators, and Async Generators

Learn JavaScript iteration protocols, custom iterators using Symbol.iterator, generator functions, and handling async streams with async generators.

JavaScriptIterationAsync
8 min read
View
JavaScriptMedium

JavaScript Hoisting Interview Questions

Master JavaScript hoisting interview questions with practical examples. Learn how variable hoisting, function hoisting, temporal dead zone (TDZ), let, const, var, and execution contexts work under the hood.

JavaScriptHoistingExecution Context+2
12 min read
View
Showing 1 to 10 of 18 questions