Mega Code Archive

 
Categories / JavaScript Tutorial / MS JScript
 

@_jscript_version

The @_jscript_version variable hold the JScript version number in major.minor format. Before accessing the @_jscript_version variable, use the @cc_on statement to define the variable. <html>     <script language="JScript">     <!--     //Set conditional compilation so @_jscript_version variable will be defined.     @cc_on     //Display the JScript verision number using the @_jscript_version variable     document.write("The JScript version is ",@_jscript_version);     -->     </script> </html>