Tips from open-source: Use “Set” to remove duplicates from an array.
This tip is picked from Next.js source. In this article, you will learn how to remove duplicates from an array using Set in Javascript.
From this comment above in the picture, I noticed you could remove duplicates from an array using Set.
You can ex...
ramunarasinga.hashnode.dev3 min read