I've been trying to run a number of js files from someone else with
Rhino and they seem to be croaking on LET statement support. A simple
example:

js> function myFunc() {
  > let x = 31;
js: "<stdin>", line 8: missing ; before statement
js: let x = 31;
js: .....^
I

I've tried this with the 1.6 release in Java 1.6 (expected fail) and
on the 1.7R2 release with the same behavior. Does Rhino not support
this language feature?

Thanks,

John
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to