A

Admin • 833K Points
Coach

Q. What is the purpose of the isNaN() function?

  • (A) Checks if a value is NaN
  • (B) Checks if a value is not a number
  • (C) Checks if a value is null
  • (D) Both a and b
  • Correct Answer - Option(D)
  • Views: 23
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

isNaN() returns true if the value is NaN or not a number.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.