I would like to know why the following program behaves differently though the datatype is a string,
console.log(isNaN('Hello World!'))
console.log(isNaN(''))
Console shows the following result,
true
false
I expected both the result to be true.
Anyone help me to understand this basic thing.
Thank you.