JavaScript » Bitwise » |

This is the bitwise OR operator and returns a one for each bit position where one or both of the corresponding bits of its operands is a one.

Examples

Code:
result = a | b;
Explanation:

This example would return 13 (1101).