• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. JavaScript Core Language Ref... > Internet Explorer JScript Versions

11.1. Internet Explorer JScript Versions

For the core scripting language in Internet Explorer, it is not enough to know which browser version introduced support for a particular object or property. Microsoft separates the core language functionality from the browser itself by implementing each language as a .dll file that can be updated and swapped in without a change in the browser version.

The first shipping versions of Internet Explorer 3 came with the first version of the Jscript.dll file. Later, while IE 3 was still the shipping product, Microsoft offered an upgrade of the Jscript.dll file to Version 2. This new version incorporated several new features to the core language. Internet Explorer 4 shipped with Version 3 of the Jscript.dll file. Unfortunately, you can't deduce from the most likely place you'd look—the navigator.userAgent property—which Jscript.dll file is installed in the browser. Internet Explorer does provide a pair of global functions (ScriptEngineMajorVersion() and ScriptEngineMinorVersion()) that you can use to determine what level of JScript is installed in the browser. This function, however, was not available in Jscript.dll Version 1 (currently running in many versions of IE 3), so this test is not foolproof either.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint