# nth

Function • Returns the nth element of an array.


Arguments

name type description
n Number The index of the element to return.
array Array The target array.

Returns

name type description
value Any The selected element.