@Gordon. But there are still some var statements left, e.g. line 58
The ones inside a function are fine since they are defined at function scope anyway. It's just the ones in global scope that need to change...
Thanks!
Is this true for variables declared without any initiating keyword before them as well? Is x = 42; the same as var x = 42; in that regard?
x = 42;
var x = 42;
@Gordon 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.
The ones inside a function are fine since they are defined at function scope anyway. It's just the ones in global scope that need to change...