7
Useful JavaScript Array Methods
(javascript.withcodeexample.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
It's not really necessary to include
indexOf()
twice in the "Additional Methods" section.I don't see much points in your page, when something like MDN is available, but I also feel stupid because I didn't know that the
forEach()
method existed, and it appears that it is ancient!Yeah this is a thing that started to irritate me when I was working on JS projects. So many articles written all describing stuff - not always correct - that is answered by reading standard documentation.
I just kept MDN, Node, React docs open all the time. But working with existing code I kept needing to deal with copy & pasted stuff from blog spam.