I see what was happening now - E.toString must not have existed in 1v72. Instead, it was calling the built-in function Object.toString on E (which would ignore the first argument).
If I'm honest, toString was probably a bad name for the E.toString function given the name clash - but hey, too late now :)
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.
Great!
I see what was happening now -
E.toString
must not have existed in 1v72. Instead, it was calling the built-in functionObject.toString
onE
(which would ignore the first argument).If I'm honest,
toString
was probably a bad name for theE.toString
function given the name clash - but hey, too late now :)