🔥 Use JavaScript’s new array.at():

.at(0) → first item

.at(-1) → last item

It also floors the index, which is handy for random items!

dogs.at(Math.random() * dogs.length)
47310K
85413117160
959374120K