IDE scripting es6 and es7 support

Hi

i want to know if there is a way to use es6 or es7 on the internal scripting tool

Thanks!

0
2 comments

IDE scripting console is based on Nashorn JavaScript engine; Nashorn that comes with java 8 doesn't support ES6.
ES6 support is planned for Java9, see http://openjdk.java.net/jeps/292.

Note that IDE Scripting console is NOT a way to quickly run/ test js/es6 code snippets. To evaluate js code, you need to either use Node.js run configuration (run your code with Node.js using Run in .js file right-click menu), or evaluate code in debugger live console while debugging.

0
Avatar
Permanently deleted user

oh i see,

 

Thanks Elena!

1

Please sign in to leave a comment.