向一个对象数组里面添加新的属性
var arry= [{a:11,b:22,c:33,d:44},{a:11,b:0,c:0,d:44},{a:11,b:22,c:99,d:99}];
var arry2=[];
arry.map(((item, index)=> { arry2.push(Object.assign({},item,{mess1:item.c,mess2:item.d})) }))
console.log(arry2);
注:来源 https://blog.csdn.net/qq_24147051/article/details/80541112