slicedToArray.js 319 B

1234567891011
  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;