Answers for "NanN to false in javscript"

6

javascript check if is nan

function isNaN(x) {
   return x !== x;
};
isNaN(NaN);//true
Posted by: Guest on August-05-2019
1

nan in js

var val = Number.NaN;
Posted by: Guest on August-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language