Skip to content
JS
JavaScript error

TypeError

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.

Reference entryJavaScriptFetched
TypeError: Cannot read properties of undefined (reading 'x') (V8-based)
As listed by MDN Web Docs
TypeError: Cannot destructure 'x' as it is undefined. (V8-based)
As listed by MDN Web Docs
TypeError: Cannot destructure property 'x' of 'y' as it is undefined. (V8-based)
As listed by MDN Web Docs
TypeError: null has no properties (Firefox)
As listed by MDN Web Docs
TypeError: undefined has no properties (Firefox)
As listed by MDN Web Docs
TypeError: undefined is not an object (evaluating 'undefined.x') (Safari)
As listed by MDN Web Docs
TypeError: Right side of assignment cannot be destructured (Safari)
As listed by MDN Web Docs
Category
TypeError
Severity
error
Runtime
both
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: MDN Web Docs. Data fetched 2026-09-25T01:48:37.274Z.