2 ms·
NaN == NaN is falsy, no? (Shows as truthy in the game, unless I am misunderstanding.)
by brookside 8y ago
NaN == NaN
is falsy, no? (Shows as truthy in the game, unless I am misunderstanding.)
- etimberg 8y agoThe coercing between types only happens if the types are different.
- jmull 8y agoNaN == NaN is falsy (so is NaN === NaN, for that matter). But when I played the game, it looked to me like the game correctly claimed it is falsy. (Though I'm not 100% sure I know what the notation the game uses means.)