Pre-processing - @_mac (Pre-processor)

A pre-processor constant indicating whether the script is running in a Macintosh workstation.

Availability:

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

This directive should yield the value true when tested on any Macintosh system.

In MSIE version 5, it yields the value NaN which is what you would expect on a non Macintosh system.

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

/*@_mac @*/

Warnings:

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