ESLint Unexpected use of isNaN

前端 未结 5 1021
滥情空心
滥情空心 2021-01-30 09:47

I\'m trying to use the isNaN global function inside an arrow function in a Node.js module but I\'m getting this error:

[eslint] Unexpected use of \'is

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 10:28

    FYI, this will not work for IE. Check here at browser compatibility.

提交回复
热议问题