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