initial commit
This commit is contained in:
9
node_modules/es5-ext/array/to-array.js
generated
vendored
Normal file
9
node_modules/es5-ext/array/to-array.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
var from = require("./from")
|
||||
|
||||
, isArray = Array.isArray;
|
||||
|
||||
module.exports = function (arrayLike) {
|
||||
return isArray(arrayLike) ? arrayLike : from(arrayLike);
|
||||
};
|
||||
Reference in New Issue
Block a user