耐信是什么药| 莫逆之交什么意思| 七星瓢虫吃什么食物| 丁香泡水喝有什么功效和作用| 哺乳期吃辣椒对宝宝有什么影响| 生日送什么礼物最好| 鸡蛋属于什么类| 没有味觉是什么病| 麦芽糊精是什么东西| 结甲是什么意思| 古代的天花是现代的什么病| 眼睛发涩是什么原因导致的| 奔波是什么意思| 双十一从什么时候开始| 为什么英文怎么说| 雪蛤是什么| 瘦马什么意思| 一什么扇子| pg是什么激素| 什么是预科班| 左顾右盼的顾是什么意思| 什么是黄精| 冰岛为什么不让随便去| 维生素C起什么作用| 姜字五行属什么| 女生大姨妈推迟是什么原因| 美国的国花是什么花| 中耳炎吃什么消炎药| 维生素b1有什么作用| 国家电网需要什么专业| 教师节送什么礼物呢| 结婚60年是什么婚| 盛产是什么意思| 什么样的山| 冷血动物是什么意思| 负重是什么意思| 一什么而入| 阿尔山在内蒙古什么地方| 凌晨的凌是什么意思| 左肾肾盂分离什么意思| 忌行丧是什么意思| 醛固酮高有什么危害| 总胆红素高什么意思| 缩量十字星意味着什么| 斑鸠是什么| 肌酐高有什么症状表现| belkin是什么牌子| 格局是什么| it是什么意思| 甲减是什么意思| 尿hcg阴性是什么意思| 全品类是什么意思| 什么食物补锌| 低氧血症是什么意思| 动物都有什么| 性早熟是什么意思| 黄芪和什么泡水壮阳| wmf是什么牌子| 神戳戳是什么意思| 阿拉伯人是什么种人| 吃什么可以祛斑| 艺考是什么| 代价什么意思| 大姨妈来了能吃什么水果| 布朗是什么水果| 什么叫生僻字| 冬虫夏草有什么好处| 馒头逼是什么意思| 红颜薄命的意思是什么| 胆囊疼是什么原因| 家里养什么动物吃蟑螂| 乙肝核心抗体阳性说明什么| 卤水是什么水| 什么是跳蛋| 谷氨酸是什么| 后背长痘痘是什么原因| 口臭睡觉流口水什么原因| 当逃兵会有什么后果| 产品批号什么意思| 缺钾吃什么食物补得最快| approval是什么意思| 一级亲属指的是什么| 不造是什么意思| 恐龙灭绝的原因是什么| 颈椎病用什么药最好| 精神内科一般检查什么| 什么叫副乳| 喉咙疼痛吃什么药效果最好| 痛风吃什么药好| 鑫字属于五行属什么| 细菌感染是什么引起的| 蘑菇是什么| 疏肝解郁吃什么药| 黄花菜都凉了是什么意思| 维生素b2有什么功效| 糙米是什么| maxrieny是什么品牌| 寸金难买寸光阴什么意思| 口苦口干口臭吃什么药| 冰箱冷藏室结冰是什么原因| 阿莫西林治什么| 弥漫性肝病是什么意思| 什么食物对心脏好| 吃什么食物降尿酸最快| 为什么可乐能溶解鱼刺| 开铲车需要什么证件| 筝是什么意思| 91年属什么生肖| 前庭功能检查是查什么| 透明人什么意思| 肚子怕冷是什么原因该怎么办| 胃疼喝什么粥| 大象吃什么| 百分点是什么意思| 前呼后拥是什么意思| 喝藿香正气水不能吃什么| 看肾挂什么科| 六指是什么原因导致的| 大脑供血不足吃什么药| 小圆细胞阳性什么意思| 太平鸟属于什么档次| 四川人喜欢吃什么| 哟西哟西什么意思| 神疲乏力是什么症状| 去痘印用什么药膏好| 12年义务教育什么时候实行| 如果你是什么那快乐就是什么| 十一月底是什么星座| superstar什么意思| 蚊香灰有什么作用| 为什么人会死| 开门见什么最吉利| 胰腺的作用和功能是什么| a1微球蛋白偏高说明什么意思| 虫草什么时间吃最好| 什么是偏旁什么是部首| 子宫内膜异位症有什么症状表现| 物质是由什么组成的| 神经外科主要看什么病| 甲状旁腺激素高吃什么药| 人黄是什么| 夜猫子是什么意思| 肴肉是什么肉| 什么是果糖| 咳嗽打什么点滴效果好| edg是什么| 啷个是什么意思| 24k是什么意思| 2020年是什么命| 水逆什么意思| 雀斑是什么原因引起的| 两榜进士是什么意思| 球麻痹是什么病| 平躺头晕是什么原因| 三年级用什么笔| 便秘吃什么食物好| 大腿为什么会长妊娠纹| 松香有毒吗对人体有什么危害| 宝宝肤专家软膏主要治什么| 宫寒吃什么好| 水瓜有什么作用和功效| 肠胃不好吃什么好| 美育是什么| 八仙过海指什么生肖| 毛遂自荐什么意思| prawn是什么意思| 葡萄上的白霜是什么| 桂花像什么| 备孕吃什么水果| 翡翠属于什么玉| 女人出虚汗失眠吃什么药| 月经期间适合吃什么食物| 仓鼠是什么科动物| 令坦是对方什么人的尊称| 三伏天吃什么对身体好| 眼睛粘糊是什么原因| 什么样的小鱼| 贫血喝什么茶| 脾主什么| 早上睡不醒是什么原因| 诺丽果有什么功效| 梦见在天上飞是什么意思| 邪教是什么| 花字五行属什么| 三合局是什么意思| 3个火读什么| 梦见自己鞋子破了是什么意思| 金箔金命是什么意思| 脑供血不足吃什么中成药| 宫颈囊肿有什么症状表现| 弓形虫抗体阳性是什么意思| 磨砂膏是什么| 114是什么意思| 女生来大姨妈要注意什么| 人为什么会得阑尾炎| 男士脸黑穿什么颜色好| 公积金缴存基数是什么意思| 交织是什么意思| 梦见大蛇是什么意思| 阴道感染用什么药| 相濡以沫是什么意思| 旅拍什么意思| 体外射精是什么意思| 46岁属什么| 胰岛素ins是什么意思| 上火吃什么可以降火| 肛裂是什么原因引起的| 和五行属什么| 晚上睡觉盗汗是什么原因| 为什么250是骂人的话| 阿q精神是什么意思| 乳腺4a是什么意思| 男人脚肿是什么病的前兆| 腺肌症吃什么药| 女人要的是什么| 眼皮红肿是什么原因引起的| 脉弱是什么意思| 瓜蒌是什么东西| 47是什么生肖| 食言是什么意思| n2o是什么气体| 病毒性感冒咳嗽吃什么药效果好| 胃息肉是什么症状| 头昏脑涨是什么原因| 秸秆是什么| 牙套脸是什么样| 湿热喝什么茶可以调理| 肾不好吃什么好| 2月15号是什么星座| mv是什么意思| 丙氨酸氨基转移酶是查什么的| 苹果手机为什么充不进去电| 人中龙凤是什么意思| 禾加农是什么字| kol是什么意思| 孕妇吃什么鱼对胎儿好| 为什么射出来的精子是黄色的| 缩量十字星意味着什么| 1965年什么时候退休| 7月2日什么星座| 迈之灵治什么病| 安乐片是什么药| 时柱金舆是什么意思| 第一次查怀孕挂什么科| 脂溢性皮炎是什么原因引起的| 翡翠什么样的好| 早搏有什么危害| 过敏性紫癜有什么症状| 湿疹为什么反反复复好不了| 脱肛是什么| 失足妇女是什么意思| 七月十三号是什么星座| 711是什么星座| 喊6个1是什么意思| society是什么意思| 类风湿挂什么科室| 肝功高是什么原因引起的| 唇炎去医院挂什么科| 髋关节弹响是什么原因| 9月10日是什么日子| 硬下疳长什么样| 虎配什么生肖最好| 肾检查挂什么科| 声音的高低叫什么| 百度Jump to content

这是有多长啊 新款华颂7加长版将亮相上海车展

From Wikipedia, the free encyclopedia
JScript
Paradigms|Multi-paradigm: object-oriented (prototype-based), functional, imperative, scripting
FamilyECMAScript
DeveloperMicrosoft
First appeared1996; 29 years ago (1996)
Final release
9.0 / March 2011; 14 years ago (2011-03)
Typing disciplinedynamic, weak, duck
Scopelexical
OSMicrosoft Windows
Licenseproprietary
Filename extensions.js, .jse, .wsf, .wsc (.htm, .html, .hta, .asp)[1]
Websitelearn.microsoft.com/en-us/previous-versions/hbxc2t98(v=vs.85)
Major implementations
Active Scripting, JScript .NET
Influenced by
JavaScript
百度 凤凰网科技:像现在滴滴开始做外卖,美团开始做打车,您觉得企业应该专注还是多样化,这两个东西孰优孰劣?丁健:我觉得这不是核心,多元化也好,专注也好,最终取决于你的核心竞争力,你是在围绕着核心竞争力进行扩张,或者对你的上下游进行扩张来保护你的核心竞争力。

JScript is Microsoft's legacy[2] dialect of the ECMAScript standard[3] that is used in Microsoft's Internet Explorer web browser and HTML Applications, and as a standalone Windows scripting language. It is proprietary software.

JScript is implemented as an Active Scripting engine. This means that it can be "plugged in" to OLE Automation applications that support Active Scripting, such as Internet Explorer, Active Server Pages, and Windows Script Host.[4] It also means such applications can use multiple Active Scripting languages, e.g., JScript, VBScript or PerlScript.

JScript was first supported in the Internet Explorer 3.0 browser released in August 1996. Its most recent version is JScript 9.0, included in Internet Explorer 9.

JScript 10.0[5] is a separate dialect, also known as JScript .NET, which adds several new features from the abandoned fourth edition of the ECMAScript standard. It must be compiled for .NET Framework version 2 or version 4, but static type annotations are optional.

JScript has been criticized for being insecure and having multiple security bugs "exploited by nation-state actors",[6] leading Microsoft to add an option to disable it.[7]

Comparison to JavaScript

[edit]

As explained by Douglas Crockford in his talk titled The JavaScript Programming Language on YUI Theater,

[Microsoft] did not want to deal with Sun Microsystems about the trademark issue, and so they called their implementation JScript. A lot of people think that JScript and JavaScript are different but similar languages. That's not the case. They are just different names for the same language, and the reason the names are different was to get around trademark issues.[8]

However, JScript supports conditional compilation, which allows a programmer to selectively execute code within block comments. This is an extension to the ECMAScript standard that is unsupported in other JavaScript implementations, thus making the above statement not fully true, although conditional compilation is no longer supported in Internet Explorer 11 Standards mode.

Other internal implementation differences between JavaScript and JScript, at some point in time, are noted on the Microsoft Developer Network (MSDN).[9] The default type value for the script element in Internet Explorer is JavaScript, while JScript was its alias.[10] In an apparent transition from JScript to JavaScript, online, the Microsoft Edge [Legacy] Developer Guide refers to the Mozilla MDN web reference library as its definitive documentation.[11] As of October 2017, Microsoft MSDN pages for scripting in Internet Explorer are being redirected there as well.[12] This information may not include JScript specific objects, such as Enumerator, which are listed in the JavaScript language reference on Microsoft Docs.[13] Those provide additional features that are not included in the ECMA Standards, whether they are supported in the Edge [Legacy] browser or its predecessor.[14]

Versions

[edit]

JScript (COM Classic)

[edit]

The original JScript is an Active Scripting engine. Like other Active Scripting languages, it is built on the COM/OLE Automation platform and provides scripting capabilities to host applications.

This is the version used when hosting JScript inside a Web page displayed by Internet Explorer, in an HTML application before IE9, as well as in classic ASP, Windows Script Host scripts and other Automation environments.

JScript is sometimes referred to as "classic JScript" or "Active Scripting JScript" to differentiate it from newer .NET-based versions.

Some versions of JScript are available for multiple versions of Internet Explorer and Windows. For example, JScript 5.7 was introduced with Internet Explorer 7.0 and is also installed for Internet Explorer 6.0 with Windows XP Service Pack 3, while JScript 5.8 was introduced with Internet Explorer 8.0 and is also installed with Internet Explorer 6.0 on Windows Mobile 6.5.

Microsoft's implementation of ECMAScript 5th Edition in Windows 8 Consumer Preview is called JavaScript and the corresponding Visual Studio 11 Express Beta includes a "completely new", full-featured JavaScript editor with IntelliSense enhancements for HTML5 and ECMAScript 5 syntax, "VSDOC" annotations for multiple overloads, simplified DOM configuration, brace matching, collapsible outlining and "go to definition".[15]

Version Date Introduced with[16] Based on[note 1] Similar JavaScript version
1.0 Aug 1996 Internet Explorer 3.0 Netscape JavaScript 1.0
2.0 Jan 1997 Windows IIS 3.0 Netscape JavaScript 1.1
3.0 Oct 1997 Internet Explorer 4.0 ECMA-262 1st edition[note 2] 1.3
4.0 Visual Studio 6.0 (as part of Visual InterDev) ECMA-262 1st edition 1.3
5.0 Mar 1999 Internet Explorer 5.0 ECMA-262 2nd edition 1.4
5.1 Internet Explorer 5.01 ECMA-262 2nd edition 1.4
5.5 Jul 2000 Internet Explorer 5.5 & Windows CE 4.2 ECMA-262 3rd edition 1.5
5.6 Oct 2001 Internet Explorer 6.0 & Windows CE 5.0 ECMA-262 3rd edition 1.5
5.7 Nov 2006 Internet Explorer 7.0 ECMA-262 3rd edition[19] + ECMA-327 (ES-CP)[note 3] 1.5
5.8 Mar 2009 Internet Explorer 8.0 & Internet Explorer Mobile 6.0 ECMA-262 3rd edition + ECMA-327 (ES-CP)[note 3] + JSON (RFC 4627) 1.5
11.0 Jun 2024 Windows 11 version 24H2 (JScript 9 Legacy, designed as a compatible drop-in replacement for JScript 5.8, but not 100% compatible[20]) 1.5

JScript is also available on Windows CE (included in Windows Mobile, optional in Windows Embedded CE). The Windows CE version lacks Active Debugging.

Managed JScript

[edit]

Managed JScript is an implementation of JScript for the Dynamic Language Runtime, it is part of Microsoft's dynamic languages for .NET along with IronRuby, IronPython, and Dynamic Visual Basic. Unlike JScript .NET, which is less dynamic than the original JScript but provides Common Language Infrastructure (CLI) compatibility, Managed JScript is designed on top of the Dynamic Language Runtime (DLR) and provides the features needed for scripting scenarios.

While it is primarily designed to be used within Silverlight and ASP.NET at this time, it can also easily be embedded within any .NET application.[21]

Two builds of Managed JScript exist: one for the Desktop Common Language Runtime (CLR) and one for the Silverlight CoreCLR

Version Date Introduced with Based on Platform
1.0.0.0 2007 ASP.NET Futures (July 2007 preview) ECMA-262 3rd edition Desktop CLR 2.0
1.1.20625.0 2007 Microsoft Silverlight 1.1 Alpha (Sep 2007 refresh) ECMA-262 3rd edition CoreCLR 1.1

Managed JScript is unsupported in the .NET Compact Framework.

(Source: files versions of Microsoft.JScript.Runtime.dll in ASP.NET Futures and Silverlight 1.1 folders)

JScript "Chakra" (JsRT)

[edit]

JScript "Chakra" is based on the JScript (COM classic) version, but it has been redesigned to improve performance in Internet Explorer 9[22] at the expense of proper Active Scripting engine compatibility. It requires a specific Microsoft JavaScript Hosting (JsRT) API for proper use. Therefore, it is installed side by side with JScript 5.x and is only used by Internet Explorer 9 and later as well as JsRT hosts, while other Active Scripting hosts keep using the 5.x version when requesting the JScript engine.

Version Date Introduced with[23] Based on[24] Similar JavaScript version
Chakra 9.0 Mar 2011 Internet Explorer 9.0 ECMA-262 5th edition 1.8.1
Chakra 10.0 Sep 2012 Internet Explorer 10.0 ECMA-262 5.1 edition
Chakra 11.0 Oct 2013 Internet Explorer 11.0 ECMA-262 6th edition
Chakra Edge Jul 2015 Edge [Legacy] / Windows 10 ECMA-262 5.1 to 9 (2018) edition

(kept up to date without engine versioning)

There are two versions of the Chakra JsRT engine. The original one was used by Internet Explorer 9 and later, and is sometimes referred to as "jscript9.dll" or "legacy Chakra engine", and a second one used by Microsoft Edge Legacy browser and sometimes referred to as "new Chakra engine", "Edge engine" or "Chakra.dll". Both Chakra JsRT versions can be used by other applications using the JsRT API and can be installed side by side.[25]

There is also a COM Classic version of Chakra internally called "JScript 9 Legacy" (provided by jscript9Legacy.dll), introduced with Windows 11 24H2, which brings back compatibility with Active Scripting hosts and intended as a compatible drop-in replacement for JScript 5.8. Although largely compatible with the original JScript 5.8, there are notable breaking differences.[26]

See separate page about new Chakra (Edge) engine.

JScript .NET (CLI)

[edit]

JScript .NET is a Microsoft .NET implementation of JScript. It is a CLI language and thus inherits very powerful features, but lacks many features of the original JScript language, making it inappropriate for many scripting scenarios. JScript .NET can be used for ASP.NET pages and for complete .NET applications, but the lack of support for this language in Microsoft Visual Studio places it more as an upgrade path for classic ASP using classic JScript than as a new first-class language.

Version Platform Date Introduced with Based on
7.0 Desktop CLR 1.0 2025-08-06 .NET Framework 1.0 ECMA-262 3rd edition[note 4]
7.1 Desktop CLR 1.1 2025-08-06 .NET Framework 1.1 ECMA-262 3rd edition[note 4]
8.0 Desktop CLR 2.0 2025-08-06 .NET Framework 2.0 ECMA-262 3rd edition[note 4]
10.0 Desktop CLR 4.0 2025-08-06 .NET Framework 4.0 ECMA-262 3rd edition[note 4]

JScript .NET is unsupported in the .NET Compact Framework.[citation needed]

JScript .NET versions are unrelated to classic JScript versions, and are a separate product line. Even though JScript .NET is unsupported within the Visual Studio IDE, its versions are in sync with other .NET languages versions (C#, VB.NET, VC++) that follow their corresponding Visual Studio versions.

.NET Framework 3.0 and 3.5 are built on 2.0 and do not include the newer JScript.NET release (version 10.0 for .NET Framework 4.0).

(Source: file version of jsc.exe JScript.NET compiler and Microsoft.JScript.dll installed with .NET Framework)

See also

[edit]

Notes

[edit]
  1. ^ JScript supports various features not specified in the ECMA standard,[17] as does JavaScript.
  2. ^ Microsoft said JScript 3.0 was "the first scripting language to fully conform to the ECMA-262 standard".[18]
  3. ^ a b JScript 5.7 includes an implementation of the ECMAScript Compact Profile (ECMA-327) which turns off features not required by the ES-CP when using the "JScript.Compact" ProgID.[citation needed]
  4. ^ a b c d JScript .NET is "being developed in conjunction with ECMAScript Edition 4".[27]

References

[edit]
  1. ^ "Types of Script Files". Msdn.microsoft.com. 24 October 2011. Retrieved 2025-08-06.
  2. ^ "Disabling legacy scripting engine JScript in Internet Explorer". Techcommunity Microsoft. com. 2025-08-06. Retrieved 2025-08-06.
  3. ^ "JScript (ECMAScript3)". Msdn.microsoft.com. 24 October 2011. Retrieved 2025-08-06.
  4. ^ "What Is WSH?". Msdn.microsoft.com. 24 October 2011. Retrieved 2025-08-06.
  5. ^ What is JScript 10.0?
  6. ^ Cimpanu, Catalin. "Microsoft adds option to disable JScript in Internet Explorer". ZDNet. Retrieved 2025-08-06.
  7. ^ "Option to disable JScript execution in Internet Explorer". support.microsoft.com. Retrieved 2025-08-06.
  8. ^ Douglas Crockford, The JavaScript Programming Language
  9. ^ "The World of JScript, JavaScript, ECMAScript". Blogs.msdn.microsoft.com. 15 August 2007. Retrieved 2025-08-06.
  10. ^ "script element". Msdn.microsoft.com. Retrieved 2025-08-06.
  11. ^ "Microsoft-Edge Dev-Guide". Docs.microsoft.com. Retrieved 2025-08-06.
  12. ^ "Documenting the Web Together". Blogs.windows.com. 18 October 2017. Retrieved 2025-08-06.
  13. ^ "Javascript Language Reference (Microsoft Docs)". Docs.microsoft.com. Retrieved 2025-08-06.
  14. ^ "JavaScript Objects (Microsoft Docs)". Docs.microsoft.com. Retrieved 2025-08-06.
  15. ^ "What's New in ASP.NET 4.5 and Visual Web Developer 11 Beta: The Official Microsoft ASP.NET Site". 13 May 2022.
    "What's New for ASP.NET 4.5 and Web Development in Visual Studio 11 Beta". 12 May 2015.
  16. ^ Version Information (Windows Scripting – JScript), Microsoft, retrieved 2025-08-06
  17. ^ Microsoft JScript Features – Non-ECMA (Windows Scripting – JScript), Microsoft, retrieved 2025-08-06
  18. ^ Microsoft Embraces ECMA Internet Scripting Standard; Delivers Industry's First ECMA-Compliant Scripting Language, JScript 3.0, In Key Microsoft Products, Microsoft, 2025-08-06, archived from the original on 2025-08-06
  19. ^ Lakshman, Pratap. "JScript Deviations from ES3" (PDF). The Register. Situation Publishing / Microsoft. Retrieved 9 February 2020.
  20. ^ "Windows 11 22H2 has a different way of using the JS engine? - Microsoft Q&A".
  21. ^ (Source: JScript Blog, Jim Hugunin's Thinking Dynamic blog, Source: Blog of Jitu)
  22. ^ Niyogi, Shanku (18 March 2010). "The New JavaScript Engine in Internet Explorer 9". IEBlog (archives). Microsoft. Retrieved 19 February 2020.
  23. ^ Version Information (Windows Scripting – JScript), Microsoft, retrieved 2025-08-06
  24. ^ "Internet Explorer Standards Support Documents". Open Specifications (Microsoft Docs). Microsoft. Retrieved 19 February 2020.
  25. ^ "Targeting Microsoft Edge vs. Legacy Engines in JsRT APIs". Microsoft Edge documentation (Microsoft Docs). Microsoft. Retrieved 19 February 2020.
  26. ^ "Windows 11 22H2 has a different way of using the JS engine? - Microsoft Q&A".
  27. ^ What Is JScript .NET?, Microsoft
[edit]
儿童病毒感染吃什么药 总是嗜睡是什么原因 的确良是什么面料 梗阻是什么意思 肝风内动是什么原因造成的
6月14日什么星座 移动硬盘什么牌子好 不全性骨折是什么意思 包皮真菌感染用什么药 中性粒细胞低吃什么药
肺气肿是什么 什么河没有水 精液偏黄是什么原因 蓝矾对人有什么危害 查胃病做什么检查合适
太平猴魁属于什么茶类 军长是什么军衔 打呼噜挂什么科室 肝不好有什么症状表现 十二指肠溃疡是什么症状
孛儿只斤现在姓什么hcv8jop3ns4r.cn 渗透压是什么意思hcv7jop6ns6r.cn 不成敬意什么意思hcv8jop3ns2r.cn 夏天有什么植物hcv8jop7ns2r.cn 丰盈是什么意思hcv9jop2ns9r.cn
骨古头坏死吃什么药dayuxmw.com 肺部真菌感染用什么药最好hcv7jop9ns3r.cn 什么是马上风hcv9jop6ns3r.cn 老上火是什么原因造成的hcv8jop3ns5r.cn 耳鸣吃什么药最有效hcv8jop2ns4r.cn
傲气是什么意思hcv8jop4ns2r.cn 加湿器有什么用hcv7jop4ns7r.cn 古代新疆叫什么hcv8jop4ns8r.cn 乐五行属什么hcv8jop2ns4r.cn 儿童腮腺炎吃什么药hcv8jop1ns6r.cn
一个月大的小狗吃什么hcv9jop4ns4r.cn 人乳头瘤病毒是什么病hcv9jop3ns6r.cn pettm和pe有什么区别hcv7jop9ns3r.cn 文房四宝指什么hcv8jop7ns9r.cn 馊主意是什么意思hcv9jop1ns9r.cn
百度