What is the code snippet to change the class and let the stylesheet specify the details?
A. timestamp.className = "highlight";
B. timestamp.className = "change";
C. timestamp.className = "specify";
D. timestamp.className = "move";
Answer: Option A
A. timestamp.className = "highlight";
B. timestamp.className = "change";
C. timestamp.className = "specify";
D. timestamp.className = "move";
Answer: Option A
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