JScript

JScript
DeveloperMicrosoft
First appeared1996; 28 years ago (1996)
Stable release
9.0 / March 2011
Typing disciplineDynamic, weak, duck
OSMicrosoft Windows
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

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.

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]

  1. ^ "Types of Script Files". Msdn.microsoft.com. 24 October 2011. Retrieved 2012-08-17.
  2. ^ "Disabling legacy scripting engine JScript in Internet Explorer". TECHCOMMUNITY.MICROSOFT.COM. 2020-10-13. Retrieved 2021-11-15.
  3. ^ "JScript (ECMAScript3)". Msdn.microsoft.com. 24 October 2011. Retrieved 2012-08-17.
  4. ^ "What Is WSH?". Msdn.microsoft.com. 24 October 2011. Retrieved 2012-08-17.
  5. ^ What is JScript 10.0?
  6. ^ Cimpanu, Catalin. "Microsoft adds option to disable JScript in Internet Explorer". ZDNet. Retrieved 2021-11-15.
  7. ^ "Option to disable JScript execution in Internet Explorer". support.microsoft.com. Retrieved 2021-11-15.