InterviewSolution
Saved Bookmarks
| 1. |
What is purpose of onError event handler in JavaScript? |
|
Answer» The onerror event handler was the first feature to facilitate error handling for JavaScript. The error event is fired on the window object whenever an exception occurs on the page. The onerror event handler provides three pieces of information to identify the exact nature of the error −
|
|