程序報錯的類型

一般我們運行代碼的時候,在控制檯報錯會相應的顯示你錯誤的行數,找到那一行,查找你相應的錯誤     1、xxx is not defined   xxx 沒有定義       2、xxx is not a function   xxx 不是一個函數 xxx此時是undefined   3、Cannot read property 'xxx' of undefined   不能讀取undefined
相關文章
相關標籤/搜索