On 23/02/2018 8:56 PM, Scott Chapman wrote:
While ES6 does add some interesting features to the language, people have done 
useful work in server-side well before ES6 came along.


It adds essential features to the language like "let" and "const" which prevent nasty variable hoisting surprises! JavaScript is a flawed language but an important one. Technologies like Node have enabled a new wave of isomorphic applications and full stack developers. What is interesting is new technologies hitting the browsers like asm.js so client side code can be written in any language. JavaScript will not go away anytime soon but better languages will replace it in the coming decades.

Java 8 contained Nashorn with ES5 support.
Java 6 & 7 contained the Rhino JavaScript engine (although at what level of 
Javascript, I forget at the moment). You could also use the external Rhino Jars if 
you needed a version later than the embedded Rhino version.

I remember being surprised several years ago at how well JavaScript (using 
Rhino) ran on z/OS.

Scott Chapman

On Fri, 23 Feb 2018 14:16:18 +0800, David Crayford <dcrayf...@gmail.com> wrote:

Java 9 comes with an ES6 compliant Nashorn JavaScript engine
https://www.oracle.com/corporate/features/nashorn-javascript-engine-jdk9.html.
ES6 is essential as it
turns JavaScript into a reasonable language. Those poor souls without a
zIIP might be a bit gun shy of running Java though!

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to