Are clearTimeout and clearInterval the same?
Actually I believe that we can make a fairly strong conclusion from the W3C spec (http://www.w3.org/TR/html5/webappapis.html#timers). It is not explicitly guaranteed but we have a lot of evidence that almost any reasonable implementation would have this behavior: 1) Timeouts and Intervals actually use the same underlying function: The setTimeout() method must return the value returned … Read more