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:­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.


Avatar for Gordon @Gordon started