Javascript Object Property Logged In Google Chrome Console Before Declaration
I've been testing some JavaScript using the Google Chrome version 28.0.1500.95 m console and am looking for a bit more understanding of how it works: Have a look at the code below
Solution 1:
The object in the console initially is shown as Object
and expanded when you click on the arrow.
There is an i-icon when you expand the Object, when you hover it you'll see the answer:
object state below is captured upon first expansion
What you see after the expansion is the state of the object at the time of the expansion, not the state at the moment when you call log()
Post a Comment for "Javascript Object Property Logged In Google Chrome Console Before Declaration"