You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
288 B

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