11 lines
319 B
JavaScript
11 lines
319 B
JavaScript
|
var arrayWithHoles = require("./arrayWithHoles");
|
||
|
|
||
|
var iterableToArrayLimit = require("./iterableToArrayLimit");
|
||
|
|
||
|
var nonIterableRest = require("./nonIterableRest");
|
||
|
|
||
|
function _slicedToArray(arr, i) {
|
||
|
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();
|
||
|
}
|
||
|
|
||
|
module.exports = _slicedToArray;
|