You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi Matt,

    Probably the best place for this kind of thing is the Espruino github issue tracker. I've just made a bug for this: https://github.com/espruino/Espruino/iss­ues/251

    The issue is that currently || (and &&) cast the values to booleans - rather than returning the value if it is true. Hopefully it's not a hard fix though.

About

Avatar for Gordon @Gordon started