UNPKG

288 BJavaScriptView Raw
1import arrayWithHoles from "./arrayWithHoles";
2import iterableToArrayLimit from "./iterableToArrayLimit";
3import nonIterableRest from "./nonIterableRest";
4export default function _slicedToArray(arr, i) {
5 return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();
6}
\No newline at end of file