跳转到内容

JScript

本页使用了标题或全文手工转换
维基百科,自由的百科全书

这是本页的一个历史版本,由ZéroBot留言 | 贡献2012年7月26日 (四) 21:04 (r2.7.1) (机器人添加:ro:JScript编辑。这可能和当前版本存在着巨大的差异。

JScript是由微软公司开发的活动脚本语言,是微软对ECMAScript规范的实现。

JScript最初是随Internet Explorer 3.0于1996年8月发布。在网络程序员谈论Internet Explorer中的JavaScript的时候,他们实际上是指JScript。和其他活动脚本一样,它后来也被Windows Script HostWSH)和Active Server Pages所支持。典型的JScript源文件使用的扩展名.js

JScript最新的版本是基于尚未定稿的ECMAScript4.0版规范的JScript .NET,并且可以在微软的.Net环境下编译。JScript在ECMA的规范上增加了许多特性。

版本

JScript

版本 發佈日期 實現 基於 Approx. JavaScript
1.0 1996年8月 Internet Explorer 3.0 Netscape JavaScript 1.0
2.0 1997年1月 Windows IIS 3.0 Netscape JavaScript 1.1
3.0 1997年10月 Internet Explorer 4.0 ECMA-262 1st edition 1.3
4.0 Visual Studio 6.0 (Visual InterDev的一部分) ECMA-262 1st edition 1.3
5.0 1999年5月 Internet Explorer 5.0 ECMA-262 2nd edition 1.4
5.1 Internet Explorer 5.01 ECMA-262 2nd edition 1.4
5.5 2000年7月 Internet Explorer 5.5 & Windows CE 4.2 ECMA-262 3rd edition 1.5
5.6 2001年10月 Internet Explorer 6.0 & Windows CE 5.0 ECMA-262 3rd edition 1.5
5.7 2006年11月 Internet Explorer 7.0 ECMA-262 3rd edition + ECMA-327 (ES-CP) 1.5
5.8 2009年5月 Internet Explorer 8.0 ECMA-262 3rd edition + ECMA-327 (ES-CP) + JSON (RFC 4627) 1.5
9.0 2011年3月 Internet Explorer 9.0 ECMA-262 5th edition 1.8.1

Managed JScript

版本 平台 發佈日期 實現 基於
1.0.0.0 Desktop CLR 2.0 2007年 ASP.NET Futures (2007年7月 preview) ECMA-262 3rd edition
1.1.20625.0 CoreCLR 1.1 2007年 Microsoft Silverlight 1.1 Alpha (2007年9月 refresh) ECMA-262 3rd edition

JScript .NET

版本 平台 發佈日期 實現 基於
7.0 Desktop CLR 1.0 2002年1月5日 Microsoft .NET Framework 1.0 ECMA-262 3rd edition
7.1 Desktop CLR 1.1 2003年4月1日 Microsoft .NET Framework 1.1 ECMA-262 3rd edition
8.0 Desktop CLR 2.0 2005年11月7日 Microsoft .NET Framework 2.0 ECMA-262 3rd edition

參見