Sha256: 210d4050fd9d13415d409261c69cb94bf8539e3b2eeeb65fb49147c2c230cf43

Contents?: true

Size: 497 Bytes

Versions: 11

Compression:

Stored size: 497 Bytes

Contents

export default function _iterableToArrayLimit(arr, i) {
  var _arr = [];
  var _n = true;
  var _d = false;
  var _e = undefined;

  try {
    for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
      _arr.push(_s.value);

      if (i && _arr.length === i) break;
    }
  } catch (err) {
    _d = true;
    _e = err;
  } finally {
    try {
      if (!_n && _i["return"] != null) _i["return"]();
    } finally {
      if (_d) throw _e;
    }
  }

  return _arr;
}

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
jester-data-8.0.0 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
ezii-os-5.2.1 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
ezii-os-2.0.1 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
ezii-os-1.1.0 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
ezii-os-1.0.0 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
ezii-os-0.0.0.1.0 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
ezii-os-0.0.0.0.1 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
condenser-0.0.4 lib/condenser/processors/node_modules/@babel/runtime/helpers/builtin/es6/iterableToArrayLimit.js