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
Solution(By Examveda Team)
The removeAllListeners(name) is used to remove all handlers from name events represented as :emitter.removeAllListeners(name)
Join The Discussion