O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the ES6 features implemented in Oracle Nashorn

In this recipe, we will look at some of the ES6 features implemented in the Oracle Nashorn JavaScript engine. For this, we will create a JavaScript file and use jjs to execute the same. Remember to use jjs in the ES6 mode, which can be enabled by passing the --language=es6 command-line option.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required