iterableToArrayLimitLoose.js 290 B

123456789
  1. export default function _iterableToArrayLimitLoose(e, r) {
  2. var t = e && ("undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"]);
  3. if (null != t) {
  4. var o,
  5. l = [];
  6. for (t = t.call(e); e.length < r && !(o = t.next()).done;) l.push(o.value);
  7. return l;
  8. }
  9. }