17. května 2014 v 01:59
function inviteRotaEToDrink {
var deadline = new Date("May 30, 2014 12
00");
var today = new Date();
var diplomaSubmission = ???
var diplomaDefence = ???
if (deadline = today && diplomaSubmission = true ) {
alert("Hureyyyy!!! How 'bout drink some
?");
}
else {
alert("What the fuck! How 'bout drink some
?");
}
if (deadline+14 = today && diplomaDefence = true ) {
alert("Oh my dear Lord!!! Lets go drink some
");
}
else {
alert("Oh my fucking god! How 'bout get drunk? ");
}
}