summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
blob: 618200b92bffe3fdf4346f7529b809ed2a19f4b9 (plain)
1
2
3
4
5
6
7
import arrayWithHoles from "./arrayWithHoles.js";
import iterableToArrayLimit from "./iterableToArrayLimit.js";
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
import nonIterableRest from "./nonIterableRest.js";
export default function _slicedToArray(arr, i) {
  return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
}