top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What does isNaN function do? When is it used?

+2 votes
62 views
What does isNaN function do? When is it used?
posted Jun 5, 2014 by Khusboo

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+3 votes
 
Best answer

NAN means not a number, it is used to check whether a value is number or not.

Example :
isNaN(123) -> it will return false.because it is a number
isNaN(12/3/2014)->it will return true.because it is not a number.

answer Jun 5, 2014 by Gowri Sankar
Similar Questions
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...