What is the output of the following code snippet?
console.log(typeof NaN);
undefined
string
number
NaN