Put in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript
async/await Element Order
Arrange the elements of an async function with await:
Items to put in order
- async function
- fetch(url) }
- getData() {
- const data = await
You can check the correct answer by solving this task in the CodeWorlds game.