iterableToArrayLimitLoose.js 427 B

12345678910
  1. function _iterableToArrayLimitLoose(arr, i) {
  2. var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]);
  3. if (null != _i) {
  4. var _s,
  5. _arr = [];
  6. for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) _arr.push(_s.value);
  7. return _arr;
  8. }
  9. }
  10. module.exports = _iterableToArrayLimitLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;