Number.isNaN

Nathan Wall nathan.wall at live.com
Fri Dec 14 10:49:30 PST 2012


> > On another note, I do sort of wonder why `Number.isNaN` is coming into the language now at the same time as the `is` operator and `Object.is`. It seems teaching people (and getting them to remember long-term) the nuances of `isNaN` and `Number.isNaN` will be more difficult than just teaching people to use `x is NaN` in ES6 or `Object.is(x, NaN)` in an ES3/5 + ES6 shims environment.
>
> `is` operator is dead :( :( :(

That is sad indeed :(

Nathan 		 	   		  


More information about the es-discuss mailing list