Hi Olivier,
Support for ECMAScript 6 is quite incomplete in Nashorn unfortunately. We only
support a small set of ES6 features in JDK 9:
• Template strings
• let, const, and block scope
• Iterators and for..of loops
• Map, Set, WeakMap, and WeakSet
• Symbo
Hi experts,
I want to run ES6 scripts from Java, using Nashorn.
I have scripts involving 'let', 'const', my Java code is happy with it,
I just need to use a property "nashorn.args" set to "--language=es6".
Now, I'd like to move forward, use imports and modules.
I have one script like this (modu