Movatterモバイル変換


[0]ホーム

URL:


  1. Веб-технологии для разработчиков
  2. JavaScript
  3. Справочник по JavaScript
  4. JavaScript ссылки на ошибки
  5. TypeError: "x" has no properties

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

View in EnglishAlways switch to English

TypeError: "x" has no properties

Сообщение

TypeError: Unable to get property {x} of undefined or null reference (Edge)TypeError: null has no properties (Firefox)TypeError: undefined has no properties (Firefox)

Тип ошибки

TypeError.

Что пошло не так?

Уnull иundefined нет свойств, к которым можно было бы обратиться.

Примеры

js
null.foo;// TypeError: null has no propertiesundefined.bar;// TypeError: undefined has no properties

Смотрите также

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp