It will return the last element of the value.
value
1.0.0
last([0, 1, 2, 3, 4, 5]); // => 5 Copy
last([0, 1, 2, 3, 4, 5]); // => 5
last("012345"); // => "5" Copy
last("012345"); // => "5"
It will return the last element of the
value.