Created
August 17, 2011 22:22
-
-
Save samstokes/1152797 to your computer and use it in GitHub Desktop.
Example of scheduling code loggily
This file contains hidden or 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
// no annotation | |
setTimeout(function () { /* something that blows up horribly */ }, 1000); | |
// annotated, behaves identically unless it blows up | |
setTimeout(loggily("doing something hairy", function () { /* something that blows up horribly */ }), 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment