Async JavaScript
JavaScript learning path
Master async javascript through 10 carefully ordered interview questions. Each lesson includes a detailed explanation, practical example, common mistakes, and an interview-ready summary.
10 questions3 easy · 3 medium · 4 hard difficulty mix≈ 50 min total study time
Start this learning path Quick knowledge check
Test your Async JavaScript knowledge
Match five interview questions to their best answers. Your result stays on this device.
Table of contents
Work through the questions in order for a guided path, or jump directly to the concept you want to review.
01What is the JavaScript event loop?hard · senior level · 5 min read02What is the difference between the microtask and macrotask queues?easy · junior level · 5 min read03What are the states of a Promise?medium · mid level · 5 min read04How does `async`/`await` work?hard · senior level · 5 min read05What is the difference between `Promise.all` and `Promise.allSettled`?easy · junior level · 5 min read06When would you use `Promise.race` or `Promise.any`?medium · mid level · 5 min read07How do you handle errors with async/await?hard · senior level · 5 min read08What is callback hell and how do you avoid it?easy · junior level · 5 min read09How do you cancel a fetch request?medium · mid level · 5 min read10What is the difference between synchronous and asynchronous code?hard · senior level · 5 min read