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

Which is the handler method used to invoke when uncaught JavaScript exceptions occur? 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).

Related Questions

When do uncaught exceptions generate events?
Which function is used to transform PHP’s session-handler behavior into that defined by your custom handler?
When will the browser invoke the handler?
Which is the function in JavaScript that will print the current page in JavaScript?
Which one of the following is the right way to invoke a method?
Which of the following is the parameter used to invoke the Audio() constructor?
What is the function used to deregister event handler ‘f’?
Which of the following commands is given to invoke Task Manager?