extra-array
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -28,2 +28,10 @@ /** | ||
/** | ||
* Gets elements before last element of array. | ||
* @param {array} x array | ||
* @returns {array} elements before last | ||
*/ | ||
function init(x) { | ||
return x.slice(0, -1); | ||
} | ||
@@ -64,3 +72,4 @@ /** | ||
exports.tail = tail; | ||
exports.init = init; | ||
exports.zip = zip; | ||
exports.zipWith = zipWith; |
{ | ||
"name": "extra-array", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "Standard utility methods for Array.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
20416
499