Async JavaScript for Pythonistas Quiz
Interactive Quiz ⋅ 10 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of Async JavaScript for Pythonistas.
By working through this quiz, you’ll revisit how asyncio code ports to JavaScript:
async function without asyncio.run(), calls that start their work before you await
them, awaiting in a loop instead of in .map() or .forEach(), Promise.all() and
Promise.allSettled() in place of gather(), timeouts that stop waiting but not
working, and a handler on every promise by the time it can fail.
Most questions show a short snippet and ask what it does in JavaScript, where a Python habit would lead you to expect something else. Good luck!
The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
Async JavaScript for Pythonistas
Port a library's asyncio holds check to JavaScript, and learn async functions without asyncio.run(), the promises behind await, Promise.all(), timeouts, and retries.