DRAFT
Observed
Accessing a non existent property on an object produces an error
Accessing a non existent property on an object evaluates to undefined
JavaScript is more lenient than other languages and does not throw errors when one tries to access properties that are not defined on certain objects.
The returned value is actually undefined
, as demonstrated in the next example:
Follow us on twitter to hear about new misconceptions.