Put in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript
.then() Syntax
Arrange the elements of handling a Promise with then:
Items to put in order
- console.log(result))
- .then(
- promise
- result =>
You can check the correct answer by solving this task in the CodeWorlds game.