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

  • (A) Onhalt
  • (B) Onerror
  • (C) Both onhalt and onerror
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) Onerror
Explanation: The onerror handler method can be registered to be invoked when uncaught JavaScript exceptions occur.
Explanation by: Mr. Dubey
The onerror handler method can be registered to be invoked when uncaught JavaScript exceptions occur.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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