JavaScript tricky output question! What happens when you compare NaN == NaN? Most developers get this wrong because NaN behaves differently from all other values in JavaScript. Watch the full short and drop your answer in the comments! Perfect for interview prep, JS quizzes, and coding challenges.
ADVERTISEMENT
Comments 1
Sign in to join the conversation
Sign in
false in js NaN is the only value that is not iequal to itself