Skip to content
wolfram77 edited this page Mar 26, 2020 · 17 revisions

Gets values except first.

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

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

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

references

Clone this wiki locally