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