JSLint中常见报错提示

Tables Are
Missing semicolon 缺少分号
Use the function form of \”use strict\ 使用标准化定义function
Unexpected space after ‘-’ 后面不应出现空格
Expected a JSON value 请传入一个json的值
Mixed spaces and tabs 空格和TAB重复
Unsafe character 不安全的字符
Line too long 本行中的字符超过设定的最大长度
Trailing whitespace 本行末尾有过多无用空格
Script URL 脚本URL
Unexpected {a} in ‘{b}’ 在 ‘{b}’ 中不该出现 {a}
Unexpected ‘{a}’ 不该在此出现’{a}’
Strings must use doublequote 字符串需要用双引号
Unnecessary escapement 不需要转义
Control character in string: {a} 在字符串中出现了Control的字符
Avoid \’ 避免 \
Avoid \v 避免 \v
Avoid \x- 避免 \x-
Bad escapement 错误的转义字符
Bad number ‘{a}’ 错误的数字 ‘{a}’
Missing space after ‘{a}’ 在’{a}’之后缺少空格
Don’t use extra leading zeros ‘{a}’ 不要再’{a}’的前面用多余的0″,
Avoid 0x-. ‘{a}’ 避免使用 0x-. ‘{a}’
A trailing decimal point can be confused with a dot ‘{a}’ 在’{a}’中使用点尾随小数点
Unexpected comment 不该在此处出现注释
Unescaped ‘{a}’ 没有转义 ‘{a}’
Unexpected control character in regular expression 在正则表达式中出现了control字符
Unexpected escap
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值