UNPKG

@babel/runtime-corejs2

Version:

babel's modular runtime helpers with core-js@2 polyfilling

5 lines 229 B
import _Array$isArray from "core-js/library/fn/array/is-array.js"; import arrayLikeToArray from "./arrayLikeToArray.js"; export default function _arrayWithoutHoles(arr) { if (_Array$isArray(arr)) return arrayLikeToArray(arr); }