Q. Which function among the following lets to register a function to be invoked once?
β
Correct Answer: (A)
setTimeout()
Explanation: setTimeout() and setInterval() allow you to register a function to be invoked once or repeatedly after a specified amount of time has elapsed.