Netscript 1.0 is implemented using a modified version of Neil Fraser’s JS-Interpreter.
If you are confused by the ES5/ES6/etc. terminology, consider reading this: WTF is ES6, ES8, ES2017, ECMAScript…
Netscript 1.0 scripts end with the “.script” extension in their filenames.
Which ES6+ features are supported?¶
Netscript 1.0 is a ES5 interpreter, but the following features from versions ES6 and above are supported as well.
If there is an additional ES6+ feature you would like to see implemented with a polyfill, feel free to open an issue (and provide the polyfill if possible).