ScriptEngineMajorVersion Function (JScript 5.6)
Returns the major version number of the scripting engine in use.
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:
function GetScriptEngineInfo(){
var s;
s = ""; // Build string with necessary info.
s += ScriptEngine() + " Version ";
s += ScriptEngineMajorVersion() + ".";
s += ScriptEngineMinorVersion() + ".";
s += ScriptEngineBuildVersion();
return(s);
}
Requirements
See Also
Reference
ScriptEngine Function (JScript 5.6)
ScriptEngineBuildVersion Function (JScript 5.6)
ScriptEngineMinorVersion Function (JScript 5.6)