Return a promise that will fulfill when all promises in the input array have fulfilled, or will reject when one of the promises rejects.
Promise.all(promises)
Return a promise that will fulfill when all promises in the input array have fulfilled, or will reject when one of the promises rejects.
Parameters
-
promises
{array}
array of promises