A

Admin • 833K Points
Coach

Q. Which method is used to handle a resolved Promise?

  • (A) then()
  • (B) catch()
  • (C) resolve()
  • (D) finally()
  • Correct Answer - Option(A)
  • Views: 31
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

then() is used to handle the success case of a Promise.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.