Rhino and Javascript 1.8?

Is it possible that Rhino is using a newer JS implementation than 1.7?

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

Thanks.

+2


a source to share


3 answers


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 custom branch that implements some of the new features from 1.8 and ECMAScript 5. For example, it supports ( 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 am not aware of any projects currently working on this.

+4


a source


Umm ... Rhino doesn't use a Javascript implementation, it's a Javascript implementation.



+1


a source


SpiderMonkey runs JS 1.8 but is implemented in C instead of Java, not sure if this matters to you.

0


a source







All Articles