JS基础(一)异常错误
EvalError(运算错误): raised when an error occurs executing code in eval()
RangeError(范围错误): raised when a numeric variable or parameter is outside of its valid range
ReferenceError(引用错误): raised when de-referencing an invalid reference
SyntaxError(语法错误): raised when a syntax error occurs while parsing code in eval()
TypeError(类型错误): raised when a variable or parameter is not a valid type
URIError(URL地址错误): raised when encodeURI() or decodeURI() are passed invalid parameters