Open
Description
What is the code triggering the message?
let z = { a: { b: { } } }
z.a.b.c.d
What went wrong in the code? What is the system trying to tell you?
That z.a.b.c
is undefined
, so you can't access the d
property on it
What error message do you see?
Which JavaScript environment produced this error?
#### jsc
TypeError: undefined is not an object (evaluating 'z.a.b.c.d')
#### V8
TypeError: Cannot read property 'd' of undefined
#### chakracore
TypeError: Unable to get property 'd' of undefined or null reference
#### spidermonkey
TypeError: z.a.b.c is undefined
eshost shows that only SpiderMonkey gives helpful output
What error message would you like to see?
SpiderMonkey-style output in all JS engines
Do you agree to license your suggested error message under an MIT-style license?
Yes
Metadata
Metadata
Assignees
Labels
No labels