JSLint says “missing radix parameter”

前端 未结 11 1287
北荒
北荒 2020-11-30 17:10

I ran JSLint on this JavaScript code and it said:

Problem at line 32 character 30: Missing radix parameter.

This is the code i

11条回答
  •  醉酒成梦
    2020-11-30 17:37

    Simply add your custom rule in .eslintrc which looks like that "radix": "off" and you will be free of this eslint unnesesery warning. This is for the eslint linter.

提交回复
热议问题