JavaScript 1.8

Home for older / inactive topics

JavaScript 1.8

Postby david » Wed Sep 07, 2011 4:02 pm

Will you be implementing in 6.0.1 the partial support for JavaScript 1.8 Rhino 1.7R3 has?
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: JavaScript 1.8

Postby dpriddle » Tue Sep 13, 2011 8:18 am

+1
David Riddle
OS X 10.6.8, Servoy 5.2.9
http://www.mcgilly.com
dpriddle
 
Posts: 10
Joined: Thu Aug 19, 2010 12:55 am

Re: JavaScript 1.8

Postby jcompagner » Tue Sep 13, 2011 3:32 pm

We won't change the rhino version in a minor release but in the current trunk (so the next release) we already have the latest Rhino (1.7R3).
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: JavaScript 1.8

Postby david » Tue Sep 13, 2011 5:50 pm

Thanks for the roadmap -- I did notice it in the revision history.

It looks like you have to explicitly enable js1.8 so was wondering if that will make it in as well:

JavaScript 1.8 support

Rhino 1.7R3 has partial support for JavaScript 1.8 contributed by Hannes Wallnöfer and Andreas Bolka. This includes expression closures and destructuring assignment shorthand but not generator expressions.

Note that JavaScript 1.8 features have to be enabled explicitly by selecting language version 180 in the shell, or Context.VERSION_1_8 in embedded mode.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.


Return to Archive

Who is online

Users browsing this forum: No registered users and 3 guests