2

Is it possible to have Rhino use a newer implementation of JS than 1.7?

Do we have to wait for mozilla to do this, or is there a community project that has taken the lead?

Thanks.

asked Apr 19, 2010 at 18:28

3 Answers 3

4

I don't know about JavaScript 1.8, but I know they are actively working on ECMAScript 5 support. The RingoJS project (formerly Helma NG) has a customized branch that implements some of the new features from 1.8 and ECMAScript 5. For example, it supports function expressions (f = function(x) 2 * x; instead of f = function(x) { return 2 * x; }), JSON.stringify/parse, and Object.create/seal/freeze.

I'm sure Mozilla would welcome any help moving to 1.8, but I'm not aware of any projects right now that are working on that.

answered Apr 19, 2010 at 19:46
Sign up to request clarification or add additional context in comments.

Comments

1

Umm ... Rhino doesn't use an implementation of Javascript, it is an implementation of Javascript.

answered Apr 19, 2010 at 19:29

2 Comments

That should better have been a comment on the question, not an answer.
I disagree. The answer to the question is "no", and that's what I wrote :-)
0

SpiderMonkey runs JS 1.8, but is implemented in C instead of Java, not sure if it makes a difference for you.

answered Apr 19, 2010 at 20:21

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.