Promise.all(), Promise.race(), and Promise.any()

What will be the output of this code?
const p1 = Promise.reject('Error');
const p2 = Promise.resolve(20);
const p3 = Promise.resolve(30);

Promise.all([p1, p2, p3])
  .then(values => console.log(values))
  .catch(error => console.error(error));
Next Question (2/20)