A

Admin • 828.03K Points
Coach

Q. When do uncaught exceptions generate events?

  • (A) When handlers are registered
  • (B) When handlers are deregistered
  • (C) When handler functions are called
  • (D) When handlers do not have a matching catch clause
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Uncaught exceptions generate events, if any handlers are registered. Otherwise, the exception just makes Node print an error and exit.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.