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