summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js')
-rw-r--r--school/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/school/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js b/school/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
deleted file mode 100644
index b8eb550..0000000
--- a/school/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js
+++ /dev/null
@@ -1,20 +0,0 @@
-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; \ No newline at end of file