I'm not looking native javascript only. I'm open to jQuery and underscore.js as well. I've googled a bit and I found questions/answers only explaining how to combine two objects and not more.
There is .extend from jquery which can do that. I'm looking for something that combines n objects with different properties into single object.
I'm actually doing a $('form').serializeArray()
and then I get array of objects from the form. Is there a way I can get a single object from a form? Or how to combine more objects with different properties into single object?