Yes - it's not well documented, but adding by function is really neat and tidy. No need to name the function say either, it can just be unnamed.
So you're saying that multi-line strings work, but just give the Acorn parse error? I think that's just the version of Acorn in the IDE doesn't like template strings - I guess it needs updating.
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.
Yes - it's not well documented, but adding by function is really neat and tidy. No need to name the function
say
either, it can just be unnamed.So you're saying that multi-line strings work, but just give the
Acorn parse
error? I think that's just the version of Acorn in the IDE doesn't like template strings - I guess it needs updating.