Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/5/CheckObjectCoercible.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/5/CheckObjectCoercible.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/5/CheckObjectCoercible.js
-
curl -L -o CheckObjectCoercible.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/5/CheckObjectCoercible.js
345 Bytes
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var $TypeError = GetIntrinsic('%TypeError%'); | |
| // http://262.ecma-international.org/5.1/#sec-9.10 | |
| module.exports = function CheckObjectCoercible(value, optMessage) { | |
| if (value == null) { | |
| throw new $TypeError(optMessage || ('Cannot call method on ' + value)); | |
| } | |
| return value; | |
| }; | |