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
This question is part of this quiz :
Asynchronous JavaScript