News for hackers. Stuff that matters.
Re:Everything Isa (2014) by onion2k on Monday June 03, 2019 @04:20AM (#20081332)
JavaScript - everything is a hack, except when it's not a hack.

Therefore "hack === hack // false"

Re:Everything Isa (2014) by CodeArtisan on Monday June 03, 2019 @01:00PM (#20085399)
Re:Everything Isa (2014) by jannes on Monday June 03, 2019 @06:37AM (#20081858)
Checks out. NaN === NaN // false
Re:Everything Isa (2014) by byte1918 on Monday June 03, 2019 @07:33AM (#20082106)
NaN is 'not a number' A string is not a number A function is not a number If 'not a number' === 'not a number' then any string === any function

This is a joke...

Re:Everything Isa (2014) by kazinator on Tuesday June 04, 2019 @03:27PM (#20098361)
Rules around NaN aren't Javascripts fault; it's IEEE floating-point idiocy that a given NaN doesn't compare equal to itself.

That is a corruption. It should never be the case that a thing is not itself.

Re:Everything Isa (2014) by ak39 on Monday June 03, 2019 @05:44AM (#20081656)
this
Re:Everything Isa (2014) by morgancmartin on Monday June 03, 2019 @09:37AM (#20082904)
You saw your chance and you took it. And for that, I respect you.