📜  jquery 合并对象 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:34.458000             🧑  作者: Mango

代码示例1
//merging two objects into new object
var new_object = $.extend({}, object1, object2);

//merge object2 into object1
$.extend(object1, object2);