JS: Promise.all

By Xah Lee. Date: .
work in progress
Promise.all(iterable)

returns a new promise which is fulfilled with an array of fulfillment values for the passed promises, or rejects with the reason of the first passed promise that rejects.