Javascript Number isNaN() Function Example

added by JavaScript Kicks
8/22/2019 8:29:53 AM

781 Views

Javascript Number isNaN() Function Example is today's topic. The isNaN check-in JavaScript always had its issue: it returns true for a value that isn't a number 😱. Why? Because it coerces the value to a number first, which can falsely result in a NaN. ES6 to the rescue!


0 comments