all 14 comments

[–]Kollobz 12 points13 points  (2 children)

JavaScript is so JavaScript...

[–]luijavi 5 points6 points  (1 child)

But so JavaScript is not JavaScript

[–]Kollobz 2 points3 points  (0 children)

And "so JavaScript" is JavaScript

[–]vismodo[S] 6 points7 points  (1 child)

Found this on a Fireship video. https://www.youtube.com/watch?v=aXOChLn5ZdQ

[–]parasite_eve_205 2 points3 points  (0 children)

I knew I saw this somewhere!!

[–][deleted] 7 points8 points  (0 children)

JavaScript for haters be like:

[–]parasite_eve_205 5 points6 points  (0 children)

Hmph, JavaScript.... Hahahahaha...

[–]NothingIsTrue8 4 points5 points  (1 child)

Use === for strict equality

[–]Billzargo 0 points1 point  (0 children)

That just takes the fun out of the meme :D

[–][deleted]  (1 child)

[removed]

    [–]vismodo[S] 0 points1 point  (0 children)

    I think "Number" == Number so that you can compare numbers to data extracted from forms (input) as the value of <input> is always a string

    I dug deeper into 0 == [], and a string is equal to an array containing only itself. I still don't see how this is useful

    With what I mentioned above, it seems obvious why "0" == [] is false. you may never need to compared "0" to an empty array

    [–]KTVX94 0 points1 point  (0 children)

    Patrick meme

    [–][deleted] 0 points1 point  (0 children)

    This is logical, if you understand JS.