添加 arr[0]["sex"]="男" 修改(name1,age1为name,age) var arr = [{name1:'a',age1:'1'},{name1:'b',age1:'2'}]; var newArr = arr.map(item =>{ return {name:item.name1,age:item.age1}}); console.log('newArr',newArr);