📅  最后修改于: 2022-03-11 15:01:34.458000             🧑  作者: Mango
//merging two objects into new object
var new_object = $.extend({}, object1, object2);
//merge object2 into object1
$.extend(object1, object2);