Download Goat-Bot-V2/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js from sweet2004/mitaaaa: direct link, hf CLI and curl.
- Browser
- Download file 882 Bytes
-
https://huggingface.co/spaces/sweet2004/mitaaaa/resolve/main/Goat-Bot-V2/node_modules/%40babel/runtime/helpers/createForOfIteratorHelperLoose.js
- Command line
-
hf download hf://spaces/sweet2004/mitaaaa/Goat-Bot-V2/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
-
curl -L -o createForOfIteratorHelperLoose.js https://huggingface.co/spaces/sweet2004/mitaaaa/resolve/main/Goat-Bot-V2/node_modules/%40babel/runtime/helpers/createForOfIteratorHelperLoose.js
882 Bytes
| var unsupportedIterableToArray = require("./unsupportedIterableToArray.js"); | |
| function _createForOfIteratorHelperLoose(o, allowArrayLike) { | |
| var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | |
| if (it) return (it = it.call(o)).next.bind(it); | |
| if (Array.isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | |
| if (it) o = it; | |
| var i = 0; | |
| return function () { | |
| if (i >= o.length) return { | |
| done: true | |
| }; | |
| return { | |
| done: false, | |
| value: o[i++] | |
| }; | |
| }; | |
| } | |
| throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | |
| } | |
| module.exports = _createForOfIteratorHelperLoose, module.exports.__esModule = true, module.exports["default"] = module.exports; |