slicedToArray.js 409 B

1234567
  1. import arrayWithHoles from "./arrayWithHoles.js";
  2. import iterableToArrayLimit from "./iterableToArrayLimit.js";
  3. import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
  4. import nonIterableRest from "./nonIterableRest.js";
  5. export default function _slicedToArray(arr, i) {
  6. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  7. }