Re: ECMAScript 6 through the ScriptEngineManager

2021-04-08 Thread Attila Szegedi
I’ve also been considering this idea. FWIW, there are some incompatibilities between ES5 and ES6. Most people wouldn’t ever encounter these as they typically make some things work in ES6 that wouldn’t work in ES6 For example, there’s a bunch of methods on Object prototype that in ES5 throw a T

Re: ECMAScript 6 through the ScriptEngineManager

2021-03-31 Thread Rony G. Flatscher
Hi Attila, On 29.03.2021 19:29, Attila Szegedi wrote: > today the most used ECMAScript version is 6 (ES6); Nashorn OTOH implements > the full ECMAScript 5.1 (ES5) specification and also a subset[0] of 6. > Mostly for compatibility purposes though, it defaults to ES5 and ES6 features > aren’t e