πŸ“Š JavaScript
Q. When do uncaught exceptions generate events?
  • (A) When handlers are registered
  • (B) When handlers are deregistered
  • (C) When handler functions are called
  • (D) When handlers do not have a matching catch clause
πŸ’¬ Discuss
βœ… Correct Answer: (A) When handlers are registered

Explanation: Uncaught exceptions generate events, if any handlers are registered. Otherwise, the exception just makes Node print an error and exit.

Explanation by: Mr. Dubey
Uncaught exceptions generate events, if any handlers are registered. Otherwise, the exception just makes Node print an error and exit.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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