UNPKG

@rahmatsaeedi/lotide

Version:

A light-weight, simplified, & minified version of Lodash library

8 lines (6 loc) 187 B
// Returns the tail of an array. ie, everything after the first element. // jshint esversion : 6 const tail = function(array) { return array.slice(1); }; module.exports = tail;