var arr = [
{ a: "1", b: "2"},
{ a: "3", b: "4"}
]
arr.forEach(item => {
for (var key in item) {
if(item.hasOwnProperty(key) && key === 'a') {
delete item[key]
}
}
})
console.log(arr) //{b:2},{b:4}
把数组中的a删了