_.tail

rest_.rest(array, [index]) Alias: tail, drop
Returns the rest of the elements in an array. Pass an index to return the values of the array from that index onward.

_.rest([5, 4, 3, 2, 1]);
=> [4, 3, 2, 1]
doc_Underscore
2016-04-09 09:05:21
Comments
Leave a Comment

Please login to continue.