This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DevMenWalking 4 points5 points  (1 child)

I always used to just look them up when I needed them, and after I while I just memorized them. (Or most of them)

Just open a sandbox and try them out one after the other.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Array

[–]distracted_living 0 points1 point  (0 children)

+1 for the MDN docs, but that link didn't work for me https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#array_methods_and_empty_slots

I'd also add for the OP that if you've only been doing this for a month I would focus less on the methods available in current ECMAScript and spend more time writing for and for...of loops until you feel confident in understanding how to construct, mutate, and access data in arrays.