JavaScript Tutorial/MS JScript/ScriptEngine

Материал из Web эксперт
Перейти к: навигация, поиск

ScriptEngine

The ScriptEngine function has three possible return values: JScript, VBScript, and VBA. When implemented in JavaScript scripts, this function returns JScript.



<html>
    <script language="JScript1.1">
    <!--
    document.write(ScriptEngine());
    document.write(" " + ScriptEngineMajorVersion() + ".");
    document.write(ScriptEngineMinorVersion());
    document.write(" build " + ScriptEngineBuildVersion());
    -->
    </script>
</html>