| Which of the following is the property that is triggered in response to JS errors?
Choose the Correct option from Below list
(1)onclick
(2)onerror
(3)onmessage
(4)onexception
Answer:-(2)onerror
Note:- onerror property acts as an event handler, and it is triggered when JavaScript problems occur. | | |