Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
Встречен неожиданный тип. Это часто случается со значениями null или undefined.
Так же, некоторые методы, такие как Object.create() или Symbol.keyFor(), требуют определённый тип, который должен быть предоставлен.
Что бы исправить ошибку пустого указателя вы можете использовать оператор typeof.
This page was last modified on 7 авг. 2023 г. by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.