함수 표현식을 보고합니다. 화살표 함수로 변환하는 것을 제안합니다.

예:

arr.map(function(el) {return el + 1})

빠른 수정이 적용된 후 코드는 다음과 같습니다:

arr.map(el => el + 1)