number setInterval(function callback, number delay, any rest)
Set a timer. Execute the registered callback function according to a set period (in milliseconds)
The time intervals (in milliseconds) between executed callback functions.
Additional parameters such as param1, param2, ..., paramN, which are passed to the callback function as parameters.
Timer number. This value can be passed to clearInterval to cancel the timer.