What is the purpose of the event handlers in the JavaScript?
A. Adds innerHTML page to the code
B. Performs handling of exceptions and occurences
C. Allows JavaScript code to alter the behaviour of windows
D. None of the mentioned
Answer: Option C
A. Adds innerHTML page to the code
B. Performs handling of exceptions and occurences
C. Allows JavaScript code to alter the behaviour of windows
D. None of the mentioned
Answer: Option C
What are the events generated by the Node objects called?
A. generators
B. emitters
C. dispatchers
D. highevents
What is the function used to deregister event handler ‘f’?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
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)
Join The Discussion