Skip to content
Pranav on .NET
ramblings and technical insights of a coffee addicted developer
  • Speaking
  • Who is Pranav?
  • Contact

Tag: underscore

Javascript

Merge two object arrays and remove duplicates using UnderscoreJS

Posted on May 13, 2016 by pranav / 0 Comment

A really quick solution is – _.uniq(_.union(c1, c2), false, function(item, key, a){ return item.a; }); *NOTE: All the objects in both the Object Arrays sh...

© 2021 Pranav on .NET
Powered by WordPress | Theme: Graphy by Themegraphy