Promise.all(), Promise.race(), and Promise.any()
In this Promise.any() example, what value will be logged to the console?
const p1 = Promise.reject('Error 1');
const p2 = Promise.reject('Error 2');
const p3 = Promise.resolve('Success');
Promise.any([p1, p2, p3])
.then(value => console.log(value))
.catch(error => console.log(error));