You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hmm - I'm still not convinced that () vs (undefined) is breaking the spec - look at console.log() vs console.log(undefined) - they do different things.

    Ideally it'd be spec compliant but given there's so much code out there that uses it, and changing it to be spec compliant would just 'silently do nothing' which would just randomly stop Espruino code from working with no warning - I don't think going fully spec compliant is an option.

About

Avatar for Gordon @Gordon started