There is something strange.
Why with isNaN(\"\") I get False But with parseInt(\"\") I get NaN ?
isNaN(\"\")
False
parseInt(\"\")
NaN
isNaN takes an integer as an argument - therefore JS converts "" to 0
isNaN
""
0
parseInt takes a string as an argument - therefore an empty string is not a number
parseInt