Enable ES6 features in Rhino

This commit is contained in:
Tobi Schäfer 2023-08-26 21:29:54 +02:00
parent e61b654238
commit 796a6e7337

View file

@ -93,8 +93,8 @@ public final class RhinoCore implements ScopeProvider {
// optimization level for rhino engine, ranges from -1 to 9
int optLevel = 0;
// language version - default to JS 1.8
int languageVersion = 180;
// language version - default to ES6
int languageVersion = 200;
// debugger/tracer flags
boolean hasDebugger = false;