The ScriptEngineMajorVersion function returns the actual major version number of the scripting engine contained.