InterviewSolution
Saved Bookmarks
| 1. |
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» Correct answer is (b) Register a function to be invoked after a certain time Easy explanation: The setTimeout(), which registers a function to be invoked after a specified amount of time. The setTimeout() method calls a function or evaluates an expression after a specified number of milliseconds. |
|