Question discussion

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

279297Medium 1 reply 2,147 views
22
Which function among the following lets to register a function to be invoked once?
  • AsetTimeout()
  • BsetTotaltime()
  • CsetInterval()
  • Dnone of the mentioned
Correct answer: A

Discussion 1

0
CCommunity
setTimeout()

setTimeout() and setInterval() allow you to register a function to be invoked once or repeatedly after a specified amount of time has elapsed.