Vidyalelo
JavaScript · Q56

Server

Programming · JavaScript · question 56

Q56

The setTimeout() method is used to

A.
Make the event sleep
B.
Register a function to be invoked after a certain time
Answer
C.
Invoke an event after a certain time
D.
Time for iteration

Answer: Option B

Solution

Answer: Option B
Solution:
The setTimeout(), which registers a function to be invoked after a specified amount of time.