摘要: 使用方法: var obj1 = {"a":1,"b":2}; var obj2 = cloneObj(obj1); delete obj2.a; console.log(obj1);// {"a":1,"b":2} console.log(obj2); //{"b":2} 阅读全文
posted @ 2017-05-29 17:13 wmui 阅读(267) 评论(0) 推荐(0) 编辑