summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js
blob: c56bebdb18dbce947314fbdf1f07bd0b6720a67c (plain)
1
2
3
4
5
6
7
8
9
10
function _iterableToArrayLimitLoose(arr, i) {
  var _i = arr && ("undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]);
  if (null != _i) {
    var _s,
      _arr = [];
    for (_i = _i.call(arr); arr.length < i && !(_s = _i.next()).done;) _arr.push(_s.value);
    return _arr;
  }
}
module.exports = _iterableToArrayLimitLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;