I have N objects and i want to merge them. In my case i'm sure there won't be any collisions.
I have:
var a = {'name': 'Freeman'}
var b = {'email': 'g.freeman@mesa.com'}
and i need :
c => {'name': 'Freeman', 'email': 'g.freeman@mesa.com'}
Is there a smart way to do that?
Thanks in advance!
Trivia: I want to merge these objects while a reduce job