Asynchronous JavaScript Quizzes

Understand how JavaScript runs code later: the event loop, promises, async/await, error handling and combining many promises at once.

Intermediate 5 quizzes · 50 questions about 32 minutes
0/5passed Category exam 20 mixed questions. 80% earns a certificate.
Tags:
1 The Event Loop Hard Predict the exact order of synchronous code, microtasks and timers, the classic interview question. #event-loop#interview 10 questions · ~8 min Not started Start
2 Promises Medium Check how promises settle, how values flow through .then() chains and where .catch() and .finally() fit. #promises#then-chains 10 questions · ~6 min Not started Start
3 async/await Medium Read and write async functions, and spot the missing await and forEach traps. #async-await#promises 10 questions · ~6 min Not started Start
4 Async Error Handling Medium Catch errors from promises and async functions in the right place, and avoid the ones that slip through. #promises#errors 10 questions · ~6 min Not started Start
5 Promise.all, allSettled, race & any Medium Pick the right way to wait for many promises and predict what each combinator returns. #promises#concurrency 10 questions · ~6 min Not started Start