先贴代码
浅拷贝 function shallowCopy(oldObj) {
var newObj = {};
for(var i in oldObj) {
if(oldO
2018-09-08