📅  最后修改于: 2022-03-11 15:02:54.352000             🧑  作者: Mango
代码示例2
// Shallow copy
var newObject = jQuery.extend({}, oldObject);
// Deep copy
var newObject = jQuery.extend(true, {}, oldObject);