I need a built in function that checks if a variable contains a valid number in Javascript , following this link I\'ve tried to use is isNaN , however when I use on
isNaN
isNaN()
The empty string is converted to 0 which is not NaN