Files
node/lib
Rémi Berson 12bad69871 timers: fix clearInterval to work with timers from setTimeout
According to HTML Living Standard, "either method [clearInterval or
clearTimeout] can be used to clear timers created by setTimeout() or
setInterval().".

The current implementation of clearTimeout is already able to destroy a
timer created by setInterval, but not the other way around.

PR-URL: https://github.com/nodejs/node/pull/19952
Refs: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
2018-04-16 16:19:28 -07:00
..
2018-04-16 16:18:14 -07:00
2018-03-25 03:01:45 +02:00
2018-04-07 10:03:22 +02:00
2018-04-16 16:11:21 -07:00
2018-03-05 19:51:30 +01:00
2018-04-05 04:46:26 +08:00
2018-04-16 16:13:59 -07:00
2018-04-16 16:11:21 -07:00
2017-08-28 00:39:42 +04:00
2018-04-05 04:46:26 +08:00
2018-04-03 13:57:41 -07:00
2018-03-05 19:51:30 +01:00
2018-03-15 20:50:35 +08:00
…
2018-04-05 04:46:26 +08:00
2018-04-16 16:13:33 -07:00
2018-04-03 17:59:22 +02:00