One example is this short code
E.enableWatchdog(6, false); var wdint=setInterval(()=>{if(!D1.read())E.kickWatchdog();},1000);
produces
Uncaught SyntaxError: Got ';' expected ',' at line 1 col 77 ...D1.read()||E.kickWatchdog();,1000);
It happens also with more complex lambdas with parameters like (x,y)=>
@fanoush started
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.
One example is this short code
produces
It happens also with more complex lambdas with parameters like (x,y)=>