Uncaught SyntaxError: Got ID:console expected ','
at line 3 col 23
foo:(x)=>x.forEach(e=>console.log(e.length))
^
at line 3 col 25
foo:(x)=>x.forEach(e=>console.log(e.length))
^
Am I misunderstanding something, or is this a bug in the interpreter?
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.
Hi all, I'm seeing this:
This is valid ES6 code (https://repl.it/EyUS/0), yet:
Am I misunderstanding something, or is this a bug in the interpreter?