DEV Community

loading...

Discussion on: Removing duplicates with Map in JavaScript

Collapse
theodesp profile image
Theofanis Despoudis

Isn't what unionBy does already?
lodash.com/docs#unionBy

Collapse
clarity89 profile image
Alex K. Author

Of course there are 3rd party libraries that do that. The article is about using native JS features.