类型错误:"x" 没有属性
当你尝试访问 null
和 undefined
的属性时,会发生 JavaScript 异常 "null(或未定义)没有属性"。他们没有。
¥The JavaScript exception "null (or undefined) has no properties" occurs when you
attempt to access properties of null
and undefined
. They
don't have any.