Re: javascript 2.0 release???
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: javascript 2.0 release???

From: Thomas 'PointedEars' Lahn <PointedEars@web.de>
Date: Wed Nov 30 2005 - 13:06:22 CET

VK wrote:

> But yes, with FF 1.5 and upcoming IE 7.0 - ECMA 262 looses another
> good part of its practical value. [...]

It does not. AFAIS, JavaScript 1.6 as implemented in FF 1.5 is fully
compatible with ECMAScript 3. ECMAScript states that conforming
implementations may extend the language it as long as they support
what is specified:

<cite
src="http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf>

2 Conformance

A conforming implementation of ECMAScript must provide and support all the
types, properties, functions, and program syntax and semantics described in
this specification.

[...]
A conforming implementation of ECMAScript is permitted to provide additional
types, values, objects, properties, and functions beyond those described in
this specification. In particular, a conforming implementation of
ECMAScript is permitted to provide properties not described in this
specification, and values for those properties, for objects that are
described in this specification.

A conforming implementation of ECMAScript is permitted to support program
and regular expression syntax not described in this specification. In
particular, a conforming implementation of ECMAScript is permitted to
support program syntax that makes use of the ?future reserved words? listed
in 7.5.3 of this specification.

</cite>

JavaScript 1.6 and JScript 5.6+ do both. JavaScript 1.6 adds additional
methods to Array objects (i.e. the Array prototype object) and extends
both the Array and the String object with those methods to allow generics.

<URL:http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6>

JScript 5.6 (IE 6) and .NET (.NET 1.0) also extend the specified language
features:

<URL:http://msdn.microsoft.com/library/en-us/script56/html/js56jsgrpnonecmafeatures.asp>
<URL:http://msdn.microsoft.com/library/en-us/jscript7/html/jsgrpnonecmafeatures.asp>

In what regard is _upcoming_ IE 7 relevant here?

PointedEars
Received on Sat Dec 3 04:33:20 2005