returns “NaN”, but
parseFloat("NaN") == "NaN"
NaN, this is not a literal string but an object property in the global space. You cannot compare it to the string
Answered By – Phil
Answer Checked By – Marilyn (BugsFixing Volunteer)