DEV Community

Discussion on: NaN - It's Not A Number🙄

 
radnerus profile image
Suren

Great thought process! But typeof give the primitive types and they might have thought it's not worth having a separate type for a value that is used very less!

Thread Thread
 
somedood profile image
Basti Ortiz

I agree. NaN is really just an unfortunate (but equally appropriate) acronym for something that works like a number.