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

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

See Also


Description
Returns a string representing the scripting language in use.
Syntax
ScriptEngine( )
Return Values
The ScriptEngine function can return any of the following strings:

String Description
JScript Indicates that Microsoft JavaScript is the current scripting engine.
VBA Indicates that Microsoft Visual Basic® for Applications is the current scripting engine.
VBScript Indicates that Microsoft Visual Basic Scripting Edition is the current scripting engine.

Remarks
The following code illustrates the use of the ScriptEngine 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.

Bitcoin Dice - Crypto Casino