ES6 문법으로 배열안 요소들을 가져온다

let arr = [1,2,3,4]

for(let num of arr){
  console.log(num)
}