Spaces:
Configuration error
Configuration error
Download node_modules/es-abstract/2023/IteratorStep.js from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 555 Bytes
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2023/IteratorStep.js
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/es-abstract/2023/IteratorStep.js
-
curl -L -o IteratorStep.js https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/es-abstract/2023/IteratorStep.js
555 Bytes
| ; | |
| var IteratorComplete = require('./IteratorComplete'); | |
| var IteratorNext = require('./IteratorNext'); | |
| var Type = require('./Type'); | |
| var assertRecord = require('../helpers/assertRecord'); | |
| // https://262.ecma-international.org/14.0/#sec-iteratorstep | |
| module.exports = function IteratorStep(iteratorRecord) { | |
| assertRecord(Type, 'Iterator Record', 'iteratorRecord', iteratorRecord); | |
| var result = IteratorNext(iteratorRecord); // step 1 | |
| var done = IteratorComplete(result); // step 2 | |
| return done === true ? false : result; // steps 3-4 | |
| }; | |