A

Admin • 833K Points
Coach

Q. Which of the following is used to handle exceptions in JavaScript?

  • (A) try-catch
  • (B) do-except
  • (C) if-error
  • (D) error-handler
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

try-catch is used to handle exceptions in JavaScript.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.