Created
May 20, 2011 20:47
-
-
Save jgv/983764 to your computer and use it in GitHub Desktop.
Is it the rapture yet?
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
| (function () { | |
| date = new Date(); | |
| day = date.getDate(); | |
| month = date.getMonth(); | |
| year = date.getFullYear(); | |
| checkForRapture(day); | |
| function checkForRapture(day) { | |
| if (day === 21 && | |
| month === 4 && | |
| year === 2011) { | |
| document.write('its the rapture'); | |
| } else { | |
| document.write('sry bro, not the rapture yet'); | |
| } | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment