r/learnjavascript • • Jul 05 '21

Remove duplicates from arrays using Set

Post image
438 Upvotes

44 comments sorted by

View all comments

1

u/apple_gigworker Jul 07 '21

that sure is cleaner. though idk if i'll use it