Predict what is logged.
Promise.any([Promise.reject('x'), Promise.reject('y')]) .then(console.log) .catch((e) => console.log(e.name))