What does the await keyword do inside an async function?

JavaScript Associate Easy

JavaScript Associate — Easy

What does the await keyword do inside an async function?

Key points

  • await waits for the Promise to resolve before continuing
  • It does not block the entire JavaScript thread
  • It does not automatically convert callback-based functions into Promises

Ready to go further?

Related questions