Created
March 27, 2013 04:13
-
-
Save coodoo/5251585 to your computer and use it in GitHub Desktop.
Weird behavior in chrome's dev tool console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I tried to pause the script, then enter following command in the console: | |
document.getElementById('foo') | |
The weird part is, sometimes it will show the object state, but some times it will just show the <div> tag, seems it's the result of toString() ? | |
Is there a way to always get object state in the console ? | |
Screen cap here: http://cl.ly/image/0V1a1p3t0e12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment