Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

async/await

What does the await keyword do?

Answer options

  • Creates a new Promise
  • Pauses the execution of an async function until the Promise resolves
  • Converts synchronous code to asynchronous
  • Stops the entire application

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