报告函数表达式。 建议将其转换为箭头函数

示例:

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

应用快速修复后,代码如下所示:

  arr.map(el => el + 1)