getBigInt.js 191 B

12345
  1. if (typeof BigInt === 'function') exports.default = BigInt;
  2. else
  3. exports.default = function BigIntNotSupported() {
  4. throw new Error('BigInt is not supported in this environment.');
  5. };