Discussion :: Javascript - CS
- What is the function used to remove all handlers for name events?
A.
deleteAllListeners(name) |
B.
deleteListener(name,f) |
C.
removerListener(name,f) |
D.
removeAllListeners(name) |
Answer : Option D
Explanation :
The removeAllListeners(name) is used to remove all handlers from name events represented as :
emitter.removeAllListeners(name)
Be The First To Comment