What version of Node are the functions using? I've been battling some errors that I had no indication about, I think it's because I was using arrow functions. Maybe we need some better syntax checking for the function editor, or some kind of indication
But arrow functions are supported in that node version ( but other ES6 stuff no, like spread)
l
lastmjs
06/07/2017, 9:58 PM
Thanks!
a
agartha
06/07/2017, 10:17 PM
The editor used is CodeMirror for React.js, that needs a definition (mode) for syntax highlighting. I can't figure out which mode they are using, but there doesn't seem to be one that exactly fits a specific node version though...