32. implement `Promise.all()`

medium  - accepted / - tried

The Promise.all() method takes an iterable of promises as an input, and returns a single Promise that resolves to an array of the results of the input promises

source - MDN

Could you write your own all() ? which should works the same as Promise.all()

note

Do not use Promise.all() directly, it is not helping

Bugfree ordinary solution is better than buggy fancy ones.

(3)
(201)