Daily Quiz - 2024-04-14
console.log(typeof NaN);
NaN
number
null
undefined
The answer is Option 2
NaN simply states: “This is not a number”, but in a type-safe way, so you always get a result of type number.
console.log(typeof NaN);
NaN
number
null
undefined
The answer is Option 2
NaN simply states: “This is not a number”, but in a type-safe way, so you always get a result of type number.