Question PRG-JS-0066
HardWhat is the output of this program?
console.log(typeof typeof 1, typeof NaN, NaN === NaN, Object.is(NaN, NaN), [NaN].includes(NaN), [NaN].indexOf(NaN));
- A.
number number false true true -1
- B.
string NaN false true false -1
- C.
Sign up free to see the answer and a step-by-step explanation.