hexo/node_modules/@babel/runtime/helpers/iterableToArrayLimitLoose.js

10 lines
436 B
JavaScript

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;