Created
February 12, 2014 14:45
-
-
Save dannycroft/8956792 to your computer and use it in GitHub Desktop.
View how Chrome wraps all JavaScript entered into the Developer Tools
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
// Open Dev Tools console and enter | |
!(function a(){ debugger; }()); | |
// Then you should see the wrapping | |
with ((console && console._commandLineAPI) || {}) { | |
!(function a(){ debugger;}()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment