JavaScript Tutorial/MS JScript/ScriptEngineMajorVersion
ScriptEngineMajorVersion
The ScriptEngineMajorVersion function returns the actual major version number of the scripting engine contained.
<html>
<script language="JScript">
<!--
document.write("Major Version: " + ScriptEngineMajorVersion());
-->
</script>
</html>