A

Admin • 802.91K Points
Coach

Q. What is a Promise in JavaScript?

  • (A) A function that never runs
  • (B) A placeholder for a future value
  • (C) A data type
  • (D) An error object
  • Correct Answer - Option(B)
  • Views: 3
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
A Promise represents the eventual completion or failure of an async operation.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.