DEV Community

Discussion on: 13 useful JavaScript array tips and tricks you should know

Collapse
 
clarity89 profile image
Alex K.

Nice list!

Point 3 is more useful when applied to array-like objects, e.g. NodeList, since you can transform them into arrays and map the items to new values at the same time.