Reputation: 14927
Strange problem.
I'm investigating an object in the console. One of the properties is not accessible through JavaScript, but it is accessible through the console.
Is it possible to access the property through JavaScript?
This is the output from console.log(marker,marker.ie,marker.map):
Here's the marker.ie property opened up in the console:
Upvotes: 1
Views: 1246
Reputation: 57709
It's possible that, at the time of the console.log
that the value of marker.ie
is undefined
. It might be getting defined later, this explains why it will show if you print the whole of marker
.
Maybe you should wait on some event to complete?
Upvotes: 3