FrontendInterviews.dev

669. Promise.finally Reject Overrides

Easy•

Predict the output.

Promise.reject('e1')
  .finally(() => Promise.reject('e2'))
  .catch(console.log)

What is printed in the console?

Select an option and submit your answer.
Next Problem