Examveda

Which is the handler method used to invoke when uncaught JavaScript exceptions occur?

A. Onhalt

B. Onerror

C. Both onhalt and onerror

D. None of the mentioned

Answer: Option B

Solution (By Examveda Team)

The onerror handler method can be registered to be invoked when uncaught JavaScript exceptions occur.

Join The Discussion

Related Questions on Document Object Model and Event Handling