Returns the last element of the given array, or undefined if the array is empty.
undefined
The array from which to retrieve the last element.
The last element of the array, or undefined if the array is empty.
4.0.0
2021-12-14
Returns the last element of the given array, or
undefined
if the array is empty.