Array.prototype.at get the element at a specified index.
The syntax is at(index). Interestingly, it also supports negative indices, which count from the end of the array.
arr = [1, 2, 4]
arr.at(-1) // returns 4