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
Correct Answer: Register a function to be invoked after a certain time
The setTimeout(), which registers a function to be invoked after a specified amount of time.