DEV Community

Discussion on: To Typescript Or Not To?

Collapse
 
jessekphillips profile image
Jesse Phillips

The NaN != NaN thing has little to do with Javascript and everything to do with implementing a standard:

This is a follow up question to What is the rationale for all comparisons returning false for IEEE754 NaN values? (I think this is better as another question than a comment). It has a very good answer which is missing exactly 1 important thing: why is NaN != NaN?