Which function among the following lets to register a function to be invoked once?

Which function among the following lets to register a function to be invoked once?
A. setTimeout()
B. setTotaltime()
C. setInterval()
D. settime()
 
Answer: a
Explanation: setTimeout() and setInterval() allow you to register a function to be invoked once or repeatedly after a specified amount of time has elapsed. Both these function are used to do time manipulation in javascript.
 

Tìm kiếm

Back
Top