Put in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript
Promise.all Syntax
Arrange the elements of parallel Promise execution:
Items to put in order
- Promise.all([
- fetchPosts()
- fetchUsers(),
- ]).then(results => {})
You can check the correct answer by solving this task in the CodeWorlds game.