프로그래머스
function solution(arr1, arr2){
  const res = new Array();
  for(let i=0;i<arr1.length;i++){
    res.push(new Array());
  }
  for(let i=0;i<arr1.length;i++){
    for(let j=0;j<arr1[0].length;j++){
      res[i].push(arr1[i][j]+arr2[i][j]);
    }
  }
  return res;
}
function solution(arr1, arr2){
  return arr1.map((arr, index) => {
    return arr.map((el, idx) => {
      return el + arr2[index][idx]
    })
  })
}