JSLint says “missing radix parameter”

前端 未结 11 1264
北荒
北荒 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:31

    You can turn off this rule if you wish to skip that test.

    Insert:

    radix: false
    

    Under the "rules" property in the tslint.json file.

    It's not recommended to do that if you don't understand this exception.

提交回复
热议问题