ESLint Unexpected use of isNaN

前端 未结 5 1031
滥情空心
滥情空心 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

    For me this worked fine and didn't have any problem with ESlint

    window.isNaN()

提交回复
热议问题