_.last(array)
Gets the last element of array
.
Since
0.1.0
Arguments
-
array
(Array): The array to query.
Returns
(*): Returns the last element of array
.
Example
_.last([1, 2, 3]); // => 3
_.last(array)
Gets the last element of array
.
0.1.0
array
(Array): The array to query.(*): Returns the last element of array
.
_.last([1, 2, 3]); // => 3
Please login to continue.