In trying to load the env-js library into nashorn, I'm finding that it chokes on parsing this syntax:
function () { ...
get x(){ ... },
get y() { ... },
...
}
which seems to be parsed fine in rhino. I can't find any references to the version of javascript currently supported by nashorn. Is this due to nashorn not supporting this syntax?