3 ms·
GraalVM's JS engine[1] is an implementation of ECMAScript 2021 and as such, it's a drop-in replacements for Node.js and npm. It also supports some Nashorn feat
by brabel 6y ago
GraalVM's JS engine[1] is an implementation of ECMAScript 2021 and as such, it's a drop-in replacements for Node.js and npm.
It also supports some Nashorn features for interop with Java, but for many things to work, you need to enable it explicitly, especially the compatibility mode flag (`-Dpolyglot.js.nashorn-compat=true`).
See https://github.com/oracle/graaljs/blob/master/docs/user/NashornMigrationGuide.md https://github.com/oracle/graaljs/blob/master/docs/user/Nash...
[1] https://github.com/oracle/graaljs https://github.com/oracle/graaljs