rubyjs / therubyracer

Embed the V8 Javascript Interpreter into Ruby
1.66k stars 193 forks source link

No ES6 support? #438

Closed ryancheung closed 4 years ago

ryancheung commented 7 years ago

Error on compile js with es6 syntax, like let ERRORMSG = {}:

V8::Error: Unexpected token: name (ERRORMSG)1

ignisf commented 7 years ago

Hello,

No, I don't think v8 3.16 provides ES6 support. Unfortunately TRR does not support newer versions of the V8 library.

This depends on #348