|=

Returns the value of the first item one in each bit position for which the corresponding bits of either or both operands are ones, and assigns the new value to the first item.

Syntax

valueA |= valueB

Example

Remarks

"valueA |= valueB" is shorthand for "valueA = valueA | valueB".

text_javascript aptana_docs