Skip to content

Instantly share code, notes, and snippets.

@dannycroft
Created February 12, 2014 14:45
Show Gist options
  • Save dannycroft/8956792 to your computer and use it in GitHub Desktop.
Save dannycroft/8956792 to your computer and use it in GitHub Desktop.
View how Chrome wraps all JavaScript entered into the Developer Tools
// 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