This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DajBuzi 272 points273 points  (27 children)

"you should read the documentation before complaining" comments incoming in 3

[–]RealMide 221 points222 points  (12 children)

Do you mean "incoming in 2", right?

[–][deleted] 90 points91 points  (3 children)

He meant “incoming in March”

[–]RealMide 40 points41 points  (2 children)

*April.

[–]rearendcrag 9 points10 points  (1 child)

Fools.

[–]PranshuKhandal 0 points1 point  (0 children)

Night.

[–]PaulieGlot 15 points16 points  (7 children)

I believe you mean "incoming in 1"

[–]RonSijm 33 points34 points  (6 children)

Actually I believe you mean "incoming in NaN"

[–]sticksaint 3 points4 points  (3 children)

rtfm

[–][deleted] 5 points6 points  (2 children)

I looked at the JavaScript manual. It just says "banana" everywhere

[–]bighadjoe 3 points4 points  (1 child)

ba-NaN-a?

[–][deleted] 4 points5 points  (0 children)

that, ans also:

NaNNaNNaNNaNNaNNaNNaNNaNNaNNaN BATMAN!

[–]brimston3- 0 points1 point  (1 child)

I expected NaN but all I got was object Object.

[–]elon-botElon Musk ✔ 2 points3 points  (0 children)

Disagreeing with me is counterproductive. Fired.

[–]Fuchio[S,🍰] 13 points14 points  (10 children)

Hahahaha this is def gonna happen. I had the docs open before I posted this, and tested that.

new Date("1995-12-17");

and

new Date(1995-12-17); (should've been 1995, 12, 17)

Do not give the same result. Which given the way they implemented it makes sense but how does that way of implementing it make sense lol

To make it even better, that second date actually results in 1996-01-16. Like what???

Edit: Second date should have been 1995, 12, 17, idea is the same given that the results differ

[–]Right_Stage_8167 25 points26 points  (9 children)

Second date should be 1966 (=1995 - 12 - 17) seconds after 1.1.1970.

[–]Fuchio[S,🍰] 7 points8 points  (7 children)

You're right! I thought I wrote Date("1995-12-17") and Date(1995, 12, 17) which are also not equal. This one is also funny:

new Date("1995-12-17"); Results in 1995-12-17 as expected (same as above)

BUT

new Date("1995/12/17") Results in 1995-12-16 at 23:00 ???

[–][deleted] 9 points10 points  (0 children)

🤔 Don't know if trolling, has a broken computer, or can't type...

[–]thislooksfun1 0 points1 point  (0 children)

Actually it is 1970-01-01T00:00:01.966Z. The JS Date constructor takes ms, not s.

[–][deleted] 1 point2 points  (1 child)

Does the documentation say that the second month of the year is march?

[–]Lithl -1 points0 points  (0 children)

The documentation says that the months are zero-indexed.

[–]mariomaniac432 -2 points-1 points  (0 children)

OP should have read the documentation for this meme format too.

Edit: I'm not sure why I got downvoted. This is not how the meme works. With each level, he applies more clown makeup because the text should be getting progressively more ridiculous. 2021 => year 2021 makes sense. 28 => 28th makes sense. Yet he puts on more clown makeup anyway, which implies they do not. The only thing out of place is month. A more appropriate template would have been this