14 lines
522 B
JavaScript
14 lines
522 B
JavaScript
|
var arrayWithHoles = require("./arrayWithHoles.js");
|
||
|
|
||
|
var iterableToArrayLimit = require("./iterableToArrayLimit.js");
|
||
|
|
||
|
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
|
||
|
|
||
|
var nonIterableRest = require("./nonIterableRest.js");
|
||
|
|
||
|
function _slicedToArray(arr, i) {
|
||
|
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
|
||
|
}
|
||
|
|
||
|
module.exports = _slicedToArray;
|
||
|
module.exports["default"] = module.exports, module.exports.__esModule = true;
|