JavaScript | Asynchronous JavaScript | Question 5

Last Updated :
Discuss
Comments

What is the purpose of the await keyword?

Delays code execution indefinitely

Converts a promise into a callback

Pauses execution of an async function until a promise resolves

Handles rejected promises

Share your thoughts in the comments