first commit
This commit is contained in:
12
node_modules/@babel/runtime/helpers/maybeArrayLike.js
generated
vendored
Normal file
12
node_modules/@babel/runtime/helpers/maybeArrayLike.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
var arrayLikeToArray = require("./arrayLikeToArray");
|
||||
|
||||
function _maybeArrayLike(next, arr, i) {
|
||||
if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
|
||||
var len = arr.length;
|
||||
return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
|
||||
}
|
||||
|
||||
return next(arr, i);
|
||||
}
|
||||
|
||||
module.exports = _maybeArrayLike;
|
Reference in New Issue
Block a user