Promise.all()

Term side of the Card
Topic: Promise
Unit title: Promise.all()
Categories: Method
Explanation side of the Card

Explanation: The static method that takes an iterable of promises and, once all of them have resolved, returns a single `Promise` object that resolves to an array of their results. If any promise in the iterable rejects, the returned `Promise` object immediately rejects with the reason from the first rejection.

Browser compatibility:
  • The chrome browser supports this feature starting from version 32
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 29
  • The safari browser supports this feature starting from version 8
Availability: