Unique Values with Set

Sets
πŸ‘¨β€πŸ’Ό We collect tags from multiple sources and need to remove duplicates.
🐨 Open
index.ts
and:
  1. Create a Set from the tags array
  2. Check whether "typescript" is present
  3. Convert the set back into an array
πŸ“œ MDN - Set

Please set the playground first

Loading "Unique Values with Set"
Loading "Unique Values with Set"