A poet, a programmer, Software Engineer @ Uber, a learner
Yeah, a Not-A-Number is Not equal to itself. But unlike the case with undefined and null where comparing an undefined value to null is true but a hard check(===) of the same will give you a false value, NaN’s behavior is because of IEEE spec that all systems need to adhere to. In this…
This question was always on my mind, but I never tried my hands on really getting into what…