8
$\begingroup$

Here's my take on the subject:

a = new Date()
b = new Date(a.getTime()+24*3600*1000)
all:
a.getDay() != b.getDay()

Which movie quote is hidden in the above Javascript code?

$\endgroup$
2
  • 1
    $\begingroup$ It's simple, the answer is true. After all, that's what the JS console tells me... $\endgroup$ Commented Mar 30, 2016 at 1:56
  • 1
    $\begingroup$ @CᴏɴᴏʀO'Bʀɪᴇɴ, Of course, great movie quotes carry great truths. $\endgroup$
    – ugoren
    Commented Mar 30, 2016 at 6:17

2 Answers 2

7
$\begingroup$

"After all, tomorrow is another day."

Classic Gone With The Wind line, the code is comparing tomorrow to today to show they are different, and it happens after "all"

$\endgroup$
6
$\begingroup$

The best I can do:

After all, tomorrow is another day

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.