Pre-processing - @_jscript_version (Pre-processor)

A pre-processor constant indicating the version number of the JScript interpreter.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Number primitive
JavaScript syntax:IE@_jscript_version

This preprocessor constant provides the version number of the interpreter (but not the browser) in which the script is running.

For example, in version 5.0 of MSIE for Macintosh, the version of JScript expected is version 5.0 and you do get the value 5 reported by this directive.

If you intend to hide this directive inside some comments, it must be done like this:

/*@_jscript_version @*/

Warnings:

See also:Pre-processing, Pre-processing - /*@ ... @*/