Q2
Which function among the following lets to register a function to be invoked repeatedly after a certain time?
A.
setTimeout()
B.
setTotaltime()
C.
setInterval()
AnswerD.
none of the mentioned
Answer: Option C
Solution
Answer: Option C
Solution:
setTimeout() and setInterval() allow you to register a function to be invoked once or repeatedly after a specified amount of time has elapsed.