Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/2022/IteratorValue.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2022/IteratorValue.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/2022/IteratorValue.js
-
curl -L -o IteratorValue.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2022/IteratorValue.js
438 Bytes
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var $TypeError = GetIntrinsic('%TypeError%'); | |
| var Get = require('./Get'); | |
| var Type = require('./Type'); | |
| // https://262.ecma-international.org/6.0/#sec-iteratorvalue | |
| module.exports = function IteratorValue(iterResult) { | |
| if (Type(iterResult) !== 'Object') { | |
| throw new $TypeError('Assertion failed: Type(iterResult) is not Object'); | |
| } | |
| return Get(iterResult, 'value'); | |
| }; | |