const arrr = ["동규", "예빈"] arrr.forEach(function(doi){ console.log(doi); }); 동규 예빈
for each 함수는 array에 포함된 요소를 하나씩 보여준다.