nan + 1 javascript code example
Example 1: nan javascript
// NaN: Not a Number in javascript
console.log(parseInt('1.23')); // 1.23
console.log(parseInt('something')); // NaN
Example 2: javascript nan
NaN = Not a number.
// NaN: Not a Number in javascript
console.log(parseInt('1.23')); // 1.23
console.log(parseInt('something')); // NaN
NaN = Not a number.