Urara-Blog/node_modules/.pnpm-store/v3/files/48/4b9bb1869571cc97f06cc12d57be2f0561bf90010e085a64cb7973210c641a55efaa52ab76185f8093308a7c96db905b68d5ba3aaa64054333905936a8b21d
2022-08-14 01:14:53 +08:00

17 lines
510 B
Text

'use strict';
var GetIntrinsic = require('get-intrinsic');
var $TypeError = GetIntrinsic('%TypeError%');
var Type = require('../Type');
// https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-unsignedRightShift
module.exports = function BigIntUnsignedRightShift(x, y) {
if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') {
throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
}
throw new $TypeError('BigInts have no unsigned right shift, use >> instead');
};