The clearInterval()
function cancels an existing repeating timer created by setInterval()
.
timer
timer
is a timer created by setInterval()
.None (undefined
).
> timer = "hello world", 100;
undefined
hello world
hello world
hello world
> timer
undefined
clearInterval()
function at MDNTimer.cancel()
.