As per my understanding NaN stands for Not A Number. Strings are not definitely Numbers and hence I expect the below code to return true for Strings. However, it's not the case.
console.log(Number.isNaN("Stack Overflow"));
Could somebody please clarify this?