@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, powered by microcosm.
Report a problem