source:
trip-planner-front/node_modules/memfs/lib/getBigInt.js@
fa375fe
Last change on this file since fa375fe was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 191 bytes |
Line | |
---|---|
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 | }; |
Note:
See TracBrowser
for help on using the repository browser.