3 ms·
Yeah, that makes sense mostly. But why is NaN === NaN false? What am I missing here?
by Arkanum 10y ago
Yeah, that makes sense mostly. But why is NaN === NaN false? What am I missing here?
- kuschku 10y agoBecause there is many ways NaN can be generated, all very different. == is only defined for numbers, too. 1/0 and 50/0 aren’t the same, for example.