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.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hmm - I'm still not convinced that
()
vs(undefined)
is breaking the spec - look atconsole.log()
vsconsole.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.