Remove duplicate value from array
There are multiple ways to filter out duplicates from an array and return only the unique values.
1️⃣ Using Set 🔥
What is Set?
Set is a new data object introduced in ES6. A Set is a collection of unique values.
Here,
The array is converted to Set ...
suprabhasupi.hashnode.dev3 min read
Savio Martin
Focused on Frontend, love backend too
Thanks for this! I'm always searching for the same thing!