UNPKG

510 BJavaScriptView Raw
1export var bitOrDocs = {
2 name: 'bitOr',
3 category: 'Bitwise',
4 syntax: ['x | y', 'bitOr(x, y)'],
5 description: 'Bitwise OR operation. Performs the logical inclusive OR operation on each pair of corresponding bits of the two given values. The result in each position is 1 if the first bit is 1 or the second bit is 1 or both bits are 1, otherwise, the result is 0.',
6 examples: ['5 | 3', 'bitOr([1, 2, 3], 4)'],
7 seealso: ['bitAnd', 'bitNot', 'bitXor', 'leftShift', 'rightArithShift', 'rightLogShift']
8};
\No newline at end of file