-
-
Save apg/984588 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 () { | |
// no point in having the function take only a day, or | |
// having a function at all for that matter... | |
var date = new Date(); | |
if (date.getDate() === 21 && | |
date.getMonth() === 4 && | |
date.getFullYear() === 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