The issue at hand, we have an array of objects with specific categories, and I want to have a list of all these categories. I'll show you how we did this before using a manual loop and how easily this can be done with the Set and Map combination. Our...

Markdown supported · ⌘↵ to post
Bhargav Ponnapalli
Hashnoder | Frontend Developer | Youtuber
Nice one.
We could also use this too, I might add.
Array.from(new Set([...data.map()]))