extra-array
Advanced tools
Comparing version 4.0.124 to 4.0.125
12
index.js
@@ -463,2 +463,8 @@ 'use strict'; | ||
} | ||
function tail(x) { | ||
return x.slice(1); | ||
} | ||
function init(x) { | ||
return x.slice(0, -1); | ||
} | ||
function last(x, vd) { | ||
@@ -470,8 +476,2 @@ return x.length > 0 ? x[x.length - 1] : vd; | ||
} | ||
function tail(x) { | ||
return x.slice(1); | ||
} | ||
function init(x) { | ||
return x.slice(0, -1); | ||
} | ||
function slice(x, i = 0, I = x.length) { | ||
@@ -478,0 +478,0 @@ return x.slice(i, I); |
{ | ||
"name": "extra-array", | ||
"version": "4.0.124", | ||
"version": "4.0.125", | ||
"description": "An array is a collection of values, stored contiguously.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet