Sha256: 9fdd0d05db13029c45453cc521279d497352f74cfb3f50c93a3f8c32b6af774c
Contents?: true
Size: 503 Bytes
Versions: 112
Compression:
Stored size: 503 Bytes
Contents
'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var BigIntBitwiseOp = require('../BigIntBitwiseOp'); var Type = require('../Type'); // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseXOR module.exports = function BigIntBitwiseXOR(x, y) { if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); } return BigIntBitwiseOp('^', x, y); };
Version data entries
112 entries across 30 versions & 4 rubygems