NIELIT O Level Exam

Which of the following is the property that is triggered in response to JS errors?

Which of the following is the property that is triggered in response to JS errors?

निम्नलिखित में से कौन सी संपत्ति जेएस त्रुटियों के जवाब में ट्रिगर होती है?

A. onclick क्लिक पर

B. onerror ऑनएरर

C. onmessage ऑनमैसेज

D. onexception एक अपवाद




Correct Answer is :

B. onerror



Explanation
The Window object’s onerror property acts as an event handler, and it is triggered when JavaScript problems occur. However, because it is called with various arguments, it isn’t a genuine event handler.
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad