Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/2022/BigInt/lessThan.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2022/BigInt/lessThan.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/2022/BigInt/lessThan.js
-
curl -L -o lessThan.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2022/BigInt/lessThan.js
469 Bytes
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var $TypeError = GetIntrinsic('%TypeError%'); | |
| var Type = require('../Type'); | |
| // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-lessThan | |
| module.exports = function BigIntLessThan(x, y) { | |
| if (Type(x) !== 'BigInt' || Type(y) !== 'BigInt') { | |
| throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts'); | |
| } | |
| // shortcut for the actual spec mechanics | |
| return x < y; | |
| }; | |