Put in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

new Promise Syntax

Arrange the elements of creating a Promise:

Items to put in order

  • reject)
  • => { })
  • new Promise(
  • (resolve,

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