How can I merge jquery objects together
I have
{ \"merchantcontract\":\"Ready Reserve Foods 10104.01\", \"merchantcontractid\":\"c4253769-5a57-e11
anObj={'propone':'1', 'proptwo':'2'}; anotherObj={'propel':'11', 'proptlv':'12'}; var opts = {}; $.extend(opts, anObj, anotherObj, { bar: "baz", thing: "foo" }); console.log(opts);
Example