A

Admin • 802.91K Points
Coach

Q. What does the 'await' keyword do?

  • (A) Pauses the function until a promise settles
  • (B) Pauses script execution globally
  • (C) Rejects promises
  • (D) Creates a new thread
  • Correct Answer - Option(A)
  • Views: 3
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
await pauses an async function until the promise settles.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.