SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use unionBy for 4.0.0 and later, as follows: let uniques = _.unionBy(data, 'id')