- (Unary minus) (Operator/unary)

Negates the value of an operand.

Availability:

ECMAScript edition - 2
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Netscape Enterprise Server- 2.0
Opera - 3.0
Property/method value type:Number primitive

See also:Additive operator, Subtract (-), Unary expression, Unary operator

Refer to:

Negation operator (-)

Cross-references:

ECMA 262 edition 2 - section - 11.4.7

ECMA 262 edition 3 - section - 11.4.7