Good to know about 'this' in the timers/handlers.
I am really just sorting things out right now and sometimes don't know if it's JS-specific or specific to Espruino's environment. Like how to create a top level var from within another object's method... which I probably shouldn't, anyway.
I guess, I look at that object-tree and I am missing the reference to its root...
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.
Good to know about 'this' in the timers/handlers.
I am really just sorting things out right now and sometimes don't know if it's JS-specific or specific to Espruino's environment. Like how to create a top level var from within another object's method... which I probably shouldn't, anyway.
I guess, I look at that object-tree and I am missing the reference to its root...