Skip to content
Subhajit Sahu edited this page Mar 17, 2020 · 17 revisions

Gets values except first.

array.tail(x);
// x: an array
// --> except first
const array = require('extra-array');

array.tail([1, 2, 3]);
// [2, 3]

array.tail([1]);
// []

references

Clone this wiki locally