_ _    _ _____  ___   __                       
 __      _(_) | _(_)___ / ( _ ) / /_   ___ ___  _ __ ___  
 \ \ /\ / / | |/ / | |_ \ / _ \| '_ \ / __/ _ \| '_ ` _ \ 
  \ V  V /| |   <| |___) | (_) | (_) | (_| (_) | | | | | |
   \_/\_/ |_|_|\_\_|____/ \___/ \___(_)___\___/|_| |_| |_|

JScript

JScript
實作者微软
发行时间1996年
当前版本
  • 9.0 (2011年3月)
編輯維基數據鏈接
型態系統动态类型弱类型鸭子类型
操作系统Microsoft Windows
文件扩展名.js, .jse, .wsf, .wsc (.htm, .html, .asp)
網站msdn.microsoft.com/library/hbxc2t98.aspx
主要實作產品
动态脚本JScript .NET

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

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

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

版本

JScript

版本 發佈日期 實現 基於 類似的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) + JSONRFC 4627 1.5
9.0 2011年3月 Internet Explorer 9.0 ECMA-262 5th edition 1.8.1

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
10.0 Desktop CLR 4.0 2010年8月3日 Microsoft .NET Framework 4.0 ECMA-262 3rd edition

參考文獻

  1. ^ Types of Script Files. Msdn.microsoft.com. [2012-08-17]. (原始内容存档于2017-07-04). 
  2. ^ JScript (ECMAScript3). Msdn.microsoft.com. [2012-08-17]. (原始内容存档于2017-11-28). 
  3. ^ What Is WSH?. Msdn.microsoft.com. [2012-08-17]. (原始内容存档于2017-06-29). 
  4. ^ Version Information (Windows Scripting - JScript), Microsoft, [2010-05-31], (原始内容存档于2016-04-04) 

參見