@babel/runtime-corejs3
Version:
babel's modular runtime helpers with core-js@3 polyfilling
8 lines • 558 B
JavaScript
var _Array$isArray = require("core-js-pure/features/array/is-array.js");
var _Symbol = require("core-js-pure/features/symbol/index.js");
var _getIteratorMethod = require("core-js-pure/features/get-iterator-method.js");
function _arrayWithHoles(r) {
var t;
if (_Array$isArray(r) && ("undefined" == typeof _Symbol || (t = _getIteratorMethod(r)) === _getIteratorMethod([])) && (t || !(t = r["@@iterator"]) || t === []["@@iterator"])) return r;
}
module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;