DEV Community

Discussion on: Javascript Array Properties and Methods

Collapse
 
jenbutondevto profile image
Jen

careful! .size isn't a native JS array method.

Some of my favourites are Array(n) and Array.fill, they're pretty niche, I don't think I have used them outside of unit testing..!

Collapse
 
ktrahan2 profile image
Kyle Trahan

Thanks Jen!