Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/2015/IteratorNext.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2015/IteratorNext.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/2015/IteratorNext.js
-
curl -L -o IteratorNext.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2015/IteratorNext.js
488 Bytes
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var $TypeError = GetIntrinsic('%TypeError%'); | |
| var Invoke = require('./Invoke'); | |
| var Type = require('./Type'); | |
| // https://262.ecma-international.org/6.0/#sec-iteratornext | |
| module.exports = function IteratorNext(iterator, value) { | |
| var result = Invoke(iterator, 'next', arguments.length < 2 ? [] : [value]); | |
| if (Type(result) !== 'Object') { | |
| throw new $TypeError('iterator next must return an object'); | |
| } | |
| return result; | |
| }; | |