source:
frontend/node_modules/memfs/lib/getBigInt.js
| Last change on this file was 9af201e, checked in by , 2 weeks ago | |
|---|---|
|
|
| File size: 191 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 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.
