Developer | Microsoft |
---|---|
First appeared | 1996 |
Stable release | 9.0
/ March 2011 |
Typing discipline | Dynamic, weak, duck |
OS | Microsoft Windows |
Filename extensions | .js , .jse , .wsf , .wsc (.htm , .html , .hta , .asp )[1] |
Website | learn |
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]