UNPKG

@babel/runtime-corejs2

Version:

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

5 lines 238 B
import _Array$isArray from "@babel/runtime-corejs2/core-js/array/is-array"; import arrayLikeToArray from "./arrayLikeToArray.js"; export default function _arrayWithoutHoles(arr) { if (_Array$isArray(arr)) return arrayLikeToArray(arr); }