Below, you can see the output from these two logs. The first clearly shows the full object with the property I\'m trying to access, but on the very next line of code, I can\
I had a similar issue or maybe just related.
For my case I was accessing properties of an object but one was undefined. I found the problem was a white-space in the server side code while creating the key,val of the object.
My approach was as follows...
After removing the white-space from the server-side code creating the object, I could now access the property as below...
This might not be the issue with the case of the subject question but was for my case and may be so for some one else. Hope it helps.