_.tail

_.tail(array)

Gets all but the first element of array.

Since

4.0.0

Arguments

  1. array (Array): The array to query.

Returns

(Array): Returns the slice of array.

Example

_.tail([1, 2, 3]);
// => [2, 3]
doc_Lodash
2016-11-27 16:40:52
Comments
Leave a Comment

Please login to continue.