ScriptEngineMajorVersion

Non-standard. Do not use!
This object is a Microsoft extension and is only supported in Internet Explorer.

The ScriptEngineMajorVersion function gets the major version number of the scripting engine in use.

Syntax

ScriptEngineMajorVersion()

Remarks

The return value corresponds directly to the version information contained in the dynamic-link library (DLL) for the scripting language in use.

Example

The following example illustrates the use of the ScriptEngineMajorVersion function:

if (window.ScriptEngineMajorVersion) {  
    console.log(window.ScriptEngine());   
}  

Output: <current major version>

Requirements

Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Also supported in Store apps (Windows 8 and Windows Phone 8.1).

See also

Document Tags and Contributors

Contributors to this page: khorne3, erikadoyle
Last updated by: khorne3,