FrontendInterviews.dev

666. Promise.then with Non-function Handler

Easy•

Predict the output.

Promise.resolve(2)
  .then(3)
  .then(console.log)

What is printed in the console?

Select an option and submit your answer.
Next Problem