JavaScript MCQ Javascript Functions MCQ Question #4867
Single Choice Not Set

QWhat does the isNaN() function do in JavaScript?

ID: #4867 Javascript Functions MCQ 221 views
Question Info
#4867Q ID
Not SetDifficulty
Javascript Functions MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Converts a value to a number
  • B Checks if a value is a number
  • C Checks if a value is not a number
  • D None of these
Correct Answer

Explanation

The isNaN() function checks if a value is not a number (NaN).
It returns true if the value is NaN, and false if it is not.

Share This Question

Challenge a friend or share with your study group.