且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

javascript 2.0发布???

更新时间:2023-02-22 15:15:35



yuan写道:

yuan wrote:
你好,全部。
现在,javascript 2.0和ECMA第四次发布了????
谁能告诉我!!!
感谢
hello,all.
now ,did the javascript 2.0 and ECMA 4th be release????
can who tell me!!!
thanks




AFAIK,还没有。


请看自己的博客: -


< URL:http ://weblogs.mozillazine.org/roadmap/archives/2005_10.html>


Julian



AFAIK, not yet.

See the blog from the man himself:-

<URL:http://weblogs.mozillazine.org/roadmap/archives/2005_10.html>

Julian




元写道:

yuan wrote:
你好,全部。
现在,javascript 2.0和ECMA第4版都发布了????
谁能告诉我! !!
hello,all.
now ,did the javascript 2.0 and ECMA 4th be release????
can who tell me!!!




简单,男人,容易...... :-)上帝还没有死:-)


但是,有了FF 1.5和即将推出的IE 7.0 - ECMA 262在实用价值上又失去了另一个好的部分。它就像一本理论物理书

现在:你不能用它建造一座核电站但是如果你想知道事情的话它仍然是有用的是(应该)在地面零点打开





Easy, man, easy... :-) The God did not die yet :-)

But yes, with FF 1.5 and upcoming IE 7.0 - ECMA 262 looses another
good part of its practical value. It''s like a theoretical physics book
now: you cannot use it to build a nuclear power plant but it is still
useful if you want to know how the things are (should be) ticking at
the ground zero.


VK写道:
VK wrote:
但是,使用FF 1.5和即将推出的IE 7.0 - ECMA 262失去了另一个很大的实用价值。 [...]
But yes, with FF 1.5 and upcoming IE 7.0 - ECMA 262 looses another
good part of its practical value. [...]




它没有。在FF 1.5中实现的AFAIS,JavaScript 1.6与ECMAScript 3完全兼容
.ECMAScript指出,符合

的实现可以扩展语言,只要它们支持

指定的内容:


< cite

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


2符合性


符合ECMAScript的实施必须提供并支持所有

类型,属性,函数以及程序语法和语义在

这个规范中描述。


[...]

允许符合ECMAScript的实现提供额外的

类型,值,对象,属性和函数,而不是本规范中描述的
中描述的类型,值,对象,属性和函数。特别是,允许​​符合

ECMAScript的实现提供此

规范中未描述的属性,以及这些属性的值,对于
$的对象b $ b在本规范中描述。


允许符合ECMAScript的实现支持程序

和本规范中未描述的正则表达式语法。特别是

,允许符合ECMAScript的实现

支持使用未来保留字的程序语法?列出

在本规范的7.5.3中。


< / cite>


JavaScript 1.6和JScript 5.6+两者都做。 JavaScript 1.6为Array对象(即Array原型对象)添加了额外的

方法,并使用这些方法扩展了

Array和String对象以允许泛型。


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


JScript 5.6(IE 6)和.NET(.NET 1.0)也扩展了指定的语言

功能:


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

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


这与_upcoming_ IE 7有什么关系?

PointedEars



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