array.at()

PHOTO EMBED

Mon Oct 31 2022 02:35:21 GMT+0000 (Coordinated Universal Time)

Saved by @davidmchale #array #at

const users = ["Sam", "Alex", "Charley"];
users.at(1); //"Alex"
users.at(-2); //"Alex"
content_copyCOPY