JavaScript常见错误提示释义


编辑: upupw 发布时间: 2017-01-23 10:12:03 来源: UPUPW绿色服务器平台 热度: 2433

  • “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 escaped character ‘{a}’ in regular expression.” : “在正则表达式中出现了没有转义的字符 ‘{a}’”,
  • “Expected ‘{a}’ and instead saw ‘{b}’.” : “应该用 ‘{a}’代替’{b}’”,
  • “Spaces are hard to count. Use {{a}}.” : “空格难以统计,请使用 {{a}}”,
  • “Insecure ‘{a}’.” : “不安全的 ‘{a}’”,
  • “Empty class.” : “空的class”,
  • “Expected a number and instead saw ‘{a}’.”:“应该用数字代替’{a}’”,
  • “‘{a}’ should not be greater than ‘{b}’.”:“‘{a}’不应该比’{b}’大”,
  • “‘hasOwnProperty’ is a really bad name.”: “‘hasOwnProperty’是关键字”,
  • “‘{a}’ was used before it was defined.”:“‘{a}’未定义就已经使用了.”,
  • “‘{a}’ is already defined.”:“‘{a}’被重复定义”,
  • “A dot following a number can be confused with a decimal point.”:“数字后面的一个点会被误认为是十进制的小数点”,
  • “Confusing minusses” : “容易混淆的负数表达-”,
  • “Confusing plusses.” : “容易混淆的正数表达+”,
  • “Unmatched ‘{a}’.” : “无法匹配的’{a}’”,
123456
0人参与评论【点击评论】