Returns the element at the given index. If the index is negative, counts back from the last element.
at(index)
index
If positive, the index of the element to return. If negative, the index of the element to return, counting back from the last element.
An array element or undefined.
["coffee", "tea", "juice"].at(1)
"tea"
["coffee", "tea", "juice"].at(-3)
"coffee"