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.

10 lines
319 B

4 years ago
  1. var arrayWithHoles = require("./arrayWithHoles");
  2. var iterableToArrayLimit = require("./iterableToArrayLimit");
  3. var nonIterableRest = require("./nonIterableRest");
  4. function _slicedToArray(arr, i) {
  5. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();
  6. }
  7. module.exports = _slicedToArray;