-
-
Save christianmendoza/58d4426e77a827605e72 to your computer and use it in GitHub Desktop.
Christian is Awesome!
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
// Object Oriented Life Motto | |
var me = world.getPerson("Christian Mendoza"); | |
if(me !== null) { | |
while(me.isAlive()) { | |
if(me.isSad()) { | |
me.setSad(FALSE); | |
me.executeAwesomeness(); | |
console.log("huzzah"); | |
} | |
else { | |
me.fistBumpClosestPerson(); | |
console.log("w00t"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment