Nashorn Syntax ExtensionsNashorn implements ECMAScript 5.1 specification http://www.ecma-international.org/ecma-262/5.1/ HTML non-normative version of the spec is here: http://es5.github.io/ Nashorn implements number of syntactic and API extensions as well. This page describes syntax and API extensions of nashorn implementation. A number of syntax and API extensions are enabled only when scriptin