程序报错的类型

一般我们运行代码的时候,在控制台报错会相应的显示你错误的行数,找到那一行,查找你相应的错误     1、xxx is not defined   xxx 没有定义       2、xxx is not a function   xxx 不是一个函数 xxx此时是undefined   3、Cannot read property 'xxx' of undefined   不能读取undefined
相关文章
相关标签/搜索