I have to check if a object is undefined but when i do
typeof myUnexistingObject.myUnexistingValue == 'undefined'
i get this error
Uncaught ReferenceError: myUnexistingObject is not defined
so, how can I check for undefined obects or properties?