Created
May 21, 2012 00:40
-
-
Save dylanized/2760065 to your computer and use it in GitHub Desktop.
More JS Jokes
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
var stapler = {}; | |
stapler.color = red; | |
stapler.find = function() { | |
var my_stapler = this; | |
$(everybody).each(function() { | |
this.ask("Have you seen" + my_stapler); | |
} | |
} | |
if (stapler.find()) { | |
stapler.staple(); | |
} else { | |
office.burnDown(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment