Thanks - it is slightly concerning that it doesn't cause an error though.
It seems that in Espruino, a=3 actually returned a reference to a when really it should have returned 3. So (a=2)=3 was possible when it shouldn't be according to the spec - I've just fixed this for cutting edge builds.
© Espruino, powered by microcosm.
Report a problem