Microsoft added scripting capabilities to version 3.0 of the MSIE browser. The JScript interpreter is perhaps named differently so that detractors would not accuse Microsoft of modifying the JavaScript language.
Version 1.0 of JScript was also available in Internet Information Server as well as the MSIE version 3.0 browser. That first version of JScript is broadly compatible with JavaScript version 1.0 although there are differences between them:
Interpreter | ECMA | Notes |
---|---|---|
JScript 1.0 | No | Equivalent to JavaScript 1.0 and released with MSIE 3.0 |
JScript 1.1 | No | Never released |
JScript 1.2 | No | Evidence of its existence but status unknown |
JScript 2.0 | No | Released with IIS 1.0 |
JScript 3.0 | Yes | Equivalent to JavaScript 1.2 and released with MSIE 4.0, IIS 4.0 and WSH 1.0 (some features are in MSIE 3.02) |
JScript 4.0 | Yes | Released with Visual Studio 6.0 |
JScript 5.0 | Yes | Equivalent to JavaScript 1.5 and supported on all 32 bit Windows operatings systems with MSIE. |
JScript 5.1 | Yes | Released with IIS 5.0 on Windows 2000 |
JScript 5.5 | Yes | Released with MSIE 5.5 |
The JScript support in MSIE is excellent. However, if you limit yourself purely to the JavaScript sub-set, there are some limitations in the support. The language has been extended somewhat but not in the same way as Netscape Communications Inc provided enhancements to their interpreter.
If the JScript interpreter is re-installed without upgrading the browser, you may be using a version of JScript that is later than the browser. Scripts should work normally as long they do not exploit features of JScript that have changed. However, the scripts may not be able to access some new features of the later version. For example, JScript 5.5 can be installed over the top of JScript 5.0 in a version 5.0 MSIE browser. You get the later core language features but continue to use the old document model. This can get utterly confusing for script developers.
See also: | History, Internet Explorer, JavaScript version |
Prev | Home | Next |
.jsc | Up | .jse |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |