The Promise.all(iterable) method returns a promise that resolves when all of the promises in the iterable argument have resolved.
The Promise.all(iterable) method returns a promise that resolves when all of the promises in the iterable argument have resolved.
MDN
The Promise.race(iterable) method returns a promise that resolves or rejects as soon as one of the promises in the iterable resolves or rejects, with the value or reason from that promise.
The Promise.race(iterable) method returns a promise that resolves or rejects as soon as one of the promises in the iterable resolves or rejects, with the value or reason from that promise.
MDN
The Promise.reject(reason) method returns a Promise object that is rejected with the given reason.
The Promise.reject(reason) method returns a Promise object that is rejected with the given reason.
MDN