Which is the function that calls another function after a time interval?
A
setTimeout()
B
setTime()
C
callafter()
D
timeSet()
Correct Answer: setTimeout()
The setTimeout(function, duration) calls function after duration milliseconds from now. setInterval(function, milliseconds) is same as setTimeout(), but repeats the execution of the function continuously.