Appearance
last(array)
Returns the last element of array, or undefined if the array is empty.
array
undefined
last([1, 2, 3, 4]); // 4
pipe([1, 2, 3, 4], last()); // 4