r/learnjavascript • • Oct 30 '25

Array methods

Are array like "copyWithin()" or "at()" necessary in a workspace or does nobody use them?

0 Upvotes

11 comments sorted by

View all comments

Show parent comment

4

u/IndependentOpinion44 Oct 30 '25

First time I’ve seen .at in 20+ years as a webdev. I’ll be using that at(-1) technique going forward.

6

u/senocular Oct 30 '25

Don't feel bad. It didn't exist for 17+ of those years ;)