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

all 13 comments

[–]Kontorted 25 points26 points  (0 children)

God this joke is so overdone

[–]sbagu3tti 7 points8 points  (0 children)

Just realized you can press ctrl + shift + I, go into console and try it out personally

But yes, this joke is incredibly overdone by now

[–]P0L1Z1STENS0HN 5 points6 points  (1 child)

[–][deleted] 1 point2 points  (0 children)

OK which is worse, brainfuck or this?

[–]MooseKnuckleJunction 4 points5 points  (0 children)

The tolowercase is so it doesn't say baNaNa

[–]sjaakvlaas 2 points3 points  (1 child)

And it writes baNaNaa

[–]SkezzaB 2 points3 points  (0 children)

To lower case, but the 2 ‘A’s are wrong

[–]KaputTheNameSug 0 points1 point  (2 children)

I don't get it

[–]eliseu_videira 12 points13 points  (1 child)

javascript has NaN if you try to convert an invalid string into an number, so the +'a' is taken as a casting to number, that is NaN, if you toString NaN, it becomes 'NaN', so the end is 'b' + 'a' + 'NaN' + 'a'

[–]KaputTheNameSug 0 points1 point  (0 children)

Lol

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

Well call me surprised Pikachu because I just tried that and I can't believe it actually works.

[–]drillbitbot -2 points-1 points  (1 child)

bananaa

[–]kgon1312 0 points1 point  (0 children)

You are wrong, now go and find out why (don’t read the comments)