Last active
December 13, 2015 21:08
-
-
Save brettcvz/4974524 to your computer and use it in GitHub Desktop.
Using debugger in javascript
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
(function(){ | |
var time = +new Date; | |
//no idea what that did, let's check it out | |
debugger; | |
//Pretty cool - you can modify the local variables as well via the web inspector | |
alert(time); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment