JavaScript常见错误提示释义


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

  • “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}’之后缺少空格”,
123456