Q. What does console.log(NaN === NaN) return?

A
true
B
false
C
undefined
D
error
Solution:

NaN is not equal to itself, so NaN === NaN returns false.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!