r/learnjavascript • • May 14 '21

Remove Duplicate Value from array

Post image
234 Upvotes

89 comments sorted by

View all comments

20

u/slowthedataleak May 14 '21

Does this perform better than filter()?

4

u/suprabha-supi May 14 '21

It does not perform better than filter, shared one more way to remove duplicate values from an array