Put in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript
Promise Lifecycle
Arrange the stages of a Promise lifecycle:
Items to put in order
- Executing the executor (callback with resolve/reject)
- State change from pending to fulfilled or rejected
- Creating a Promise (new Promise)
- Handling the result via .then() or .catch()
You can check the correct answer by solving this task in the CodeWorlds game.