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)
Тип ошибки
Что пошло не так?
Примеры
js
null.foo;
// TypeError: null has no properties
undefined.bar;
// TypeError: undefined has no properties