Which is the handler method used to invoke when uncaught JavaScript exceptions occur?
A
Onhalt
B
Onerror
C
Both onhalt and onerror
D
Onsuspend
Correct Answer: Onerror
The onerror handler method can be registered to be invoked when uncaught JavaScript exceptions occur. The onerror event is triggered if an error occurs while loading an external file (e.g. a document or an image).