The clearTimeout() function cancels an existing one-shot timer created by setTimeout().
timer
timer is a timer created by setTimeout().None (undefined).
> timer = "hello world", 100;
undefined
hello world
> timer2 = "hello world", 2000;
undefined
> timer2
undefined
clearTimeout() function at MDNTimer.cancel().