Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

Promise.all()

What does Promise.all() do?

Answer options

  • Returns the first fulfilled Promise
  • Waits for ALL Promises in the array to be fulfilled
  • Chains Promises together
  • Cancels all Promises

You can check the correct answer by solving this task in the CodeWorlds game.