0
What does the function SetInterval(function_name, milliseconds_timer) return ??
We call the function SetInterval like var t= SetInterval (function_name, milliseconds_timer) ; What is the value present in t ??
2 RĂ©ponses
+ 7
It returns an identifier of the timer, it's keeping all times in an array and returns the indices, you can use that number to clear the interval.
clearInterval(5); //example
0
It works the same way whether we declare a variable t or not !!!!!!!