| 1 | How does async/await relate to Promises under the hood, and what does 'await' actually do to program execution? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 2 | How do you catch errors from a Promise chain versus async/await? JavaScript › Error Handling | JavaScript | Error Handling | Intermediate |
| 3 | How does async/await map onto the microtask queue under the hood? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Advanced |
| 4 | How were generators historically used to write asynchronous code before async/await existed? JavaScript › Iterators & Generators | JavaScript | Iterators & Generators | Advanced |
| 5 | How do you loop over an async iterable? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Beginner |
| 6 | What is the difference between the microtask queue and the macrotask (task) queue? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Intermediate |
| 7 | Why might Promise.all() be the wrong tool when consuming many async iterators? JavaScript › Async Iterators & Streams | JavaScript | Async Iterators & Streams | Advanced |
| 8 | How do you write an effective test for asynchronous code? JavaScript › Debugging, Testing & Tooling | JavaScript | Debugging, Testing & Tooling | Advanced |
| 9 | How do global error handlers like window.onerror and unhandledrejection work? JavaScript › Error Handling | JavaScript | Error Handling | Advanced |
| 10 | How do you implement a retry-with-backoff pattern around a function that might throw? JavaScript › Error Handling | JavaScript | Error Handling | Advanced |
| 11 | How does top-level await work, and what constraint does it place on modules that import that module? JavaScript › ES Modules | JavaScript | ES Modules | Advanced |
| 12 | Why does Promise.resolve().then(cb) run before setTimeout(cb, 0), even with a 0ms delay? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Advanced |
| 13 | What is 'starvation' of the macrotask queue, and how can recursive microtasks cause it? JavaScript › Event Loop & Concurrency | JavaScript | Event Loop & Concurrency | Advanced |