<풀이 코드>
const a = [1,2,3,4]; const b = ["a","b","c","d"]; const arr = {}; for(var i in a){ arr[a[i]] = b[i]; } console.log(Object.entries(arr));