Home | Javascript validator | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.
Microsoft® JScript®
ScriptEngineMajorVersion Function
 Language Reference 
Version 2 

See Also


Description
Returns the major version number of the scripting engine in use.
Syntax
ScriptEngineMajorVersion( )
Return Values
The return value corresponds directly to the version information contained in the dynamic-link library(DLL) for the scripting language in use.
Remarks
The following code 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);
}

Home | Javascript validator | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.