UNPKG

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