1.SyntaxError:语法错误
const c = """"
// SyntaxError:Unexpected string
2.Uncaught ReferenceError:引用错误
console.log(a) // ReferenceError:a is not defined
3.TypeError:数据类型不正确
let b
console.log(b.xxx)
// TypeError:Cannot read property 'xxx' of undefined
let c = {}
c.xxx()
// TypeError:c.xxx is not a function