Comparing version 0.1.0 to 0.1.1
module.exports = toArray | ||
function toArray(list) { | ||
function toArray(list, index) { | ||
var array = [] | ||
for (var i = 0; i < list.length; i++) { | ||
for (var i = index || 0; i < list.length; i++) { | ||
array[i] = list[i] | ||
@@ -8,0 +8,0 @@ } |
{ | ||
"name": "to-array", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Turn an array like into an array", | ||
@@ -19,4 +19,3 @@ "keywords": [], | ||
}, | ||
"dependencies": { | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -23,0 +22,0 @@ "tap": "~0.3.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2216