On Feb 12, 3:24 pm, John-Simon <[email protected]> wrote:
> 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

Seems I'm answering my own question with the set language support:
https://developer.mozilla.org/en/New_in_Rhino_1.7R1
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to