Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/2020/BigInt/toString.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2020/BigInt/toString.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/2020/BigInt/toString.js
-
curl -L -o toString.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2020/BigInt/toString.js
427 Bytes
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var $String = GetIntrinsic('%String%'); | |
| var $TypeError = GetIntrinsic('%TypeError%'); | |
| var Type = require('../Type'); | |
| // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-tostring | |
| module.exports = function BigIntToString(x) { | |
| if (Type(x) !== 'BigInt') { | |
| throw new $TypeError('Assertion failed: `x` must be a BigInt'); | |
| } | |
| return $String(x); | |
| }; | |