bitOr.js 642 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.bitOrDocs = void 0;
  6. var bitOrDocs = {
  7. name: 'bitOr',
  8. category: 'Bitwise',
  9. syntax: ['x | y', 'bitOr(x, y)'],
  10. 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.',
  11. examples: ['5 | 3', 'bitOr([1, 2, 3], 4)'],
  12. seealso: ['bitAnd', 'bitNot', 'bitXor', 'leftShift', 'rightArithShift', 'rightLogShift']
  13. };
  14. exports.bitOrDocs = bitOrDocs;