πŸ“Š Machine Learning
Q. Which is the property that is triggered in response to JavaScript errors?
  • (A) onexception
  • (B) onmessage
  • (C) onerror
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) onerror

Explanation: The onerror property of the Window object is something like an event handler, and it is triggered in response to JavaScript errors. It isn’t a true event handler, however, because it is invoked with different arguments.

Explanation by: Mr. Dubey
The onerror property of the Window object is something like an event handler, and it is triggered in response to JavaScript errors. It isn’t a true event handler, however, because it is invoked with different arguments.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
110
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate