SOURCE

console 命令行工具 X clear

                    
>
console
let arr1 = [{
abc:"name"
},{
abc:"content"
}]

let arr2 = [{
0:"111",
1:"222"
},{
0:"333",
1:"444"
}]

// let arr3 = [{
// name:"111",
// content:"222"
// },{
// name:"333",
// content:"444"
// }]

const arr3 = arr2.map(i=>{
  const obj = {}
  for(var j in i){
    obj[arr1[j].abc]=i[j]
  }
  return obj
})
document.getElementById('app').append(JSON.stringify(arr3))
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>Document</title>
</head>
<body>
  <div id="app"></div>
</body>
</html>