@Gordon, in the past, the not defined yet - which is different from defined but having the value undefined - was working... or is it just my imagination?
In the beginning I hated it, but for safe programming, it is better to differentiate between the reference undefined or the referenced value undefined.
I assume that something has changed in the code where a variable reference (and function reference, which is basically the same) is looked up. In the past, as recalling my experience, I would get an error...
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.
@Gordon, in the past, the not defined yet - which is different from defined but having the value undefined - was working... or is it just my imagination?
In the beginning I hated it, but for safe programming, it is better to differentiate between the reference undefined or the referenced value undefined.
I assume that something has changed in the code where a variable reference (and function reference, which is basically the same) is looked up. In the past, as recalling my experience, I would get an error...