Vidyalelo
JavaScript · Q2

Animation

Programming · JavaScript · question 2

Q2

Which is the function that calls another function after a time interval?

A.
setTimeout()
Answer
B.
setTime()
C.
callafter()
D.
none of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
The setTimeout(function, duration) calls function after duration milliseconds from now.