|= (Bitwise OR assign) (Operator/assignment)

Bitwise OR two operands storing the result in the first.

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:Assignment operator, Bitwise operator, LValue

Refer to:

Bitwise OR then assign (|=)

insert figure 0109

Cross-references:

ECMA 262 edition 2 - section - 11.13

ECMA 262 edition 3 - section - 11.13