Line 8:9: Expected an assignment or function call and instead saw an expression no-unused-expressions
Search for the keywords to learn more about each error
에러의 발생 원인은 map() 메서드를 사용할때 주의점과 동일하다.
.map(()=>{ }) 메서드를 중괄호와 같이 사용할때는 { } 중괄호 안에 return이 존재해야 한다.