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