객체for1 객체 for ... in const Mile ={ name : "Mile" , age : 30 }; for (x in Mile){ console.log(Mile[x]) //Mile['age'] } 2022. 2. 11. 이전 1 다음