Home | Mailing List | Blog | Tutorial Videos

Typeof NaN

Looking at the code below, what would be logged?

console.log(parseInt('a123') == Number("123z"));

console.log(typeof "10"/5 + typeof NaN);

console.log(isNaN(("10"/5))); 

console.log(typeof (50 + +"100px") === "number" ? "orange" : "apple");

Select one: