News for hackers. Stuff that matters.
Re:JavaScript at 20 by magicalist on Friday May 15, 2015 @02:17PM (#9552541)
note that isNaN() will remain as it is today, coercing to a number (and so isNaN('LOL') will continue to return true). Number.isNaN() will have the new behavior, testing for actual IEEE 754 NaN values (and so returning false for Number.isNaN('LOL')). Such is the unfortunate price of backwards compatibility.

There are no comments on this comment yet.