Sha256: 4cbc397be502d1c4518cf5b9a741108284efab08442cf1c5a7194a3f74fa4d6f

Contents?: true

Size: 309 Bytes

Versions: 4

Compression:

Stored size: 309 Bytes

Contents

import _getIterator from "../../core-js/get-iterator";
export default function _iterableToArrayLimitLoose(arr, i) {
  var _arr = [];

  for (var _iterator = _getIterator(arr), _step; !(_step = _iterator.next()).done;) {
    _arr.push(_step.value);

    if (i && _arr.length === i) break;
  }

  return _arr;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimitLoose.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimitLoose.js
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArrayLimitLoose.js
condenser-0.0.4 lib/condenser/processors/node_modules/@babel/runtime/helpers/es6/iterableToArrayLimitLoose.js