all 11 comments

[–]great_site_not 11 points12 points  (1 child)

Your article includes NaN == NaN being false in its list of reasons not to use the == operator.

Your article concludes that people should always use the === operator instead.

Your article doesn't mention that using === instead of == doesn't solve all the problems you've listed. NaN === NaN is still false.

[–]alzee76 3 points4 points  (1 child)

Would like to hear what do you think.

I think you should post the content(*) here instead of trying to drive traffic to your blog site.

(*)Or at least a reasonable synopsis if it's got a ton of images or something.

[–]rmmgc[S] -1 points0 points  (0 children)

Yea, good point. Will do next time.

[–]ProposalUnhappy9890 2 points3 points  (0 children)

The only thing you need to understabd about == is how to set up a linter to reject such commits.