DEV Community


Discussion on: Get Started With The ES6 Array Methods .filter(), .map() and .reduce()

nickytonline profile image
Nick Taylor (he/him)

Sarah Edo created a really awesome tool called JavaScript Array Explorer.

GitHub logo sdras / array-explorer

⚡️ A resource to help figure out what JavaScript array method would be best to use at any given time

JavaScript Array Explorer

When I was first learning array methods, I spent a lot of time digging through the docs to find the appropriate one, and I had to search one by one. I made this resource to help people find the correct array method a bit more naturally. You can narrow down what you want to do and explore until you find what's most useful to you.

Check out the site here:

Or if you prefer codepen:

I realize that there are about a million ways that this resource can be set up, and some of the taxonomy is necessarily opionionated. I tried to focus on what I thought would have helped me learn the best, rather than industry standard delineations (mutator, accessor, iteration, for example). There are a lot of resources that already divide the methods this way, so if that style of learning suits you…