My vote is making it behave consistently with the spec.
Passing an invalid ID to clearTimeout() silently does nothing; no exception is thrown.
https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout
Passing undefined or no parameters to clearTimeout should do nothing.
@AndrewWakeling started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
My vote is making it behave consistently with the spec.
https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout
Passing undefined or no parameters to clearTimeout should do nothing.