My name is John E. Price and I am a full-stack .NET Web Application Developer ...
The value of the global NaN attribute denotes Not-A-Number.
function sanitise(x) { if (isNaN(x)) { return NaN; } return x; } console.log(sanitise('1')); // expected output: "1" console.log(sanitise('NotANumber')); // expected output: NaN
Auto Sync....
Select Categories