JScript

維基百科,自由的百科全書
(差異) ←上一修訂 | 最新修訂 (差異) | 下一修訂→ (差異)
跳至導覽 跳至搜尋
JScript
File:Jscript icon.gif
實作者微軟
釋出時間1996年
目前版本
    Module:EditAtWikidata第29行Lua錯誤:attempt to index field 'wikibase' (a nil value)
    型態系統動態型別弱型別鴨子型別
    作業系統Microsoft Windows
    副檔名.js, .jse, .wsf, .wsc (.htm, .html, .asp)[1]
    網站msdn.microsoft.com/library/hbxc2t98.aspx
    主要實作產品
    動態指令碼JScript .NET

    JScript是由微軟公司開發的動態手稿語言,是微軟對ECMAScript規範的實現[2]

    JScript最初隨Internet Explorer 3.0於1996年8月發佈。在網絡程式設計師談論Internet Explorer中的JavaScript的時候,他們實際上是指JScript。和其他活動指令碼一樣,它後來也被Windows Script HostActive Server Pages所支援[3]。典型的JScript原始檔使用的副檔名.js

    JScript最新的版本是基於尚未定稿的ECMAScript 4.0版規範的JScript .NET,並且可以在微軟的.Net環境下編譯。JScript在ECMA的規範上增加了許多特性。

    版本[編輯]

    JScript[編輯]

    版本 發佈日期 實現[4] 基於 類似的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

    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) 

    參見[編輯]