我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。
Message
TypeError: null has no properties TypeError: undefined has no properties
Error type
What went wrong?
Both, null and undefined, have no properties you could access.
Examples
null.foo; // TypeError: null has no properties undefined.bar; // TypeError: undefined has no properties