~ (Bitwise NOT) (Operator/bitwise)

Bitwise NOT 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:Bitwise operator, Logical NOT - complement (!), Unary expression, Unary operator

Refer to:

Bitwise NOT - complement (~)

insert figure 0028

Cross-references:

ECMA 262 edition 2 - section - 11.4.8

ECMA 262 edition 3 - section - 11.4.8