Surely you're just dumping the memory usage before you remove the timer?
Ahhh good catch, thanks! But it was also before I add another timer..
EDIT: That's it! On the first console.log the memory usage was lower because timer was not even set at this point. Then on the second console.log the timer was finally set and memory usage was higher. Thanks for helping me understand this :)
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.
Ahhh good catch, thanks! But it was also before I add another timer..
EDIT: That's it! On the first console.log the memory usage was lower because timer was not even set at this point. Then on the second console.log the timer was finally set and memory usage was higher. Thanks for helping me understand this :)
Now it's only the ID numbering that puzzles me.