[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Errors/No_properties [Back]  [Original]

TypeError: "x" has no properties - JavaScript | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

TypeError: "x" has no properties

null undefined "null( undefined) " JavaScript .

In this article

TypeError: Cannot read properties of undefined (reading 'x') (V8-based)
TypeError: null has no properties (Firefox)
TypeError: undefined has no properties (Firefox)
TypeError: undefined is not an object (evaluating 'undefined.x') (Safari)

TypeError.

?

null undefined .

null and undefined have no properties

js
null.foo;
// TypeError: null has no properties

undefined.bar;
// TypeError: undefined has no properties


Web Proxy Viewer  |  New URL  |  Original Page