var obj={a:1,b:2,c:3} var newObj={};for(var i in obj){newObj[i]=obj[i];}console.log(newObj); 转载于:https://www.cnblogs.com/hujiapeng/p/5362437.html