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

Promise.then()

What does the .then() method do on a Promise?

Answer options

  • Converts a Promise to a callback
  • Stops the Promise
  • Creates a new Promise with a delay
  • Registers a function to be called when the Promise is fulfilled

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