0 votes
in JavaScript by

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

a) Onhalt

b) Onerror

c) Both onhalt and onerror

d) Onsuspend

1 Answer

0 votes
by

Answer:-  B

Reason:  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 .

Related questions

0 votes
asked Mar 20, 2021 in JavaScript by sharadyadav1986
0 votes
asked Mar 24, 2021 in JavaScript by sharadyadav1986
...