The setTimeout() method is used to
A. Make the event sleep
B. Register a function to be invoked after a certain time
C. Invoke an event after a certain time
D. Time for iteration
Answer: Option B
Solution(By Examveda Team)
The setTimeout(), which registers a function to be invoked after a specified amount of time.Related Questions on Server Side and Client Side Scripting
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