関数式を報告します。 また、アロー関数への変換を提案します。

例:

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

クイックフィックスを適用すると、コードは次のようになります。

arr.map(el => el + 1)