Name

ScriptEngine(), ScriptEngineBuildVersion(), ScriptEngineMajorVersion(), ScriptEngineMinorVersion() — NN n/a IE J2 ECMA n/a

Synopsis

These Internet Explorer-only functions reveal information about the scripting engine (JScript, VBScript, or VBA) currently in force (executing the statement invoking the function) and which version of that engine is installed. For JScript, the version refers to the version of the Jscript.dll file installed among the browser’s support files. The major version is the part of the version number to the left of the version decimal point; the minor version is the part to the right of the decimal point. More granular than that is the internal build number that Microsoft uses to keep track of release generations during development and through release.

Returned Value

ScriptEngine() returns a string of one of the following engine names: JScript | VBA | VBScript. All other functions return integer values.

Parameters

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.