Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

Promise.catch()

What is the .catch() method used for in a Promise?

Answer options

  • To intercept and handle errors (rejected Promise)
  • To log Promise results
  • To combine multiple Promises
  • To cancel a Promise

You can check the correct answer by solving this task in the CodeWorlds game.