- Uncaught TypeError: a is not a function 类型错误
var a = 'web02';
a();
- Uncaught ReferenceError: a is not defined 引用错误
console.log(a);
- Uncaught TypeError: Assignment to constant variable 类型错误 指派常数为变量
const IP = 205
IP = 1;
- Uncaught SyntaxError: Unexpected token ’ { in JSON at position 597 ‘语法错误无法解析标点符号
console..log(a)
- Failed to load resource: net::ERR_FILE_NOT_FOUND加载资源失败
!‐‐请求的none.js 路径错误或者不存在‐‐>
<script src="none.js"></script>
- Uncaught RangeError: Invalid array length范围错误 无效的数组长度
new Array(‐1)
- Uncaught URIError: URI malformed url参数不正确
主要是encodeURI()、decodeURI()、encodeURIComponent()、decodeURIComponent()、escape()和
unescape()这六个函数
decodeURI('%2')