iterableToArrayLimitLoose.js 621 B

123456789101112131415161718192021
  1. var _Symbol = require("@babel/runtime-corejs3/core-js/symbol");
  2. var _getIteratorMethod = require("@babel/runtime-corejs3/core-js/get-iterator-method");
  3. function _iterableToArrayLimitLoose(arr, i) {
  4. var _i = arr && (typeof _Symbol !== "undefined" && _getIteratorMethod(arr) || arr["@@iterator"]);
  5. if (_i == null) return;
  6. var _arr = [];
  7. for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) {
  8. _arr.push(_step.value);
  9. if (i && _arr.length === i) break;
  10. }
  11. return _arr;
  12. }
  13. module.exports = _iterableToArrayLimitLoose;
  14. module.exports["default"] = module.exports, module.exports.__esModule = true;