InterviewSolution
Saved Bookmarks
| 1. |
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 |
|
Answer» Correct option is (a) When handlers are registered For explanation I would say: The on() method and addListener() method perform the same task of acting as an event emitter. The on() and addListener() method is used for registering handlers. |
|