Mega Code Archive

 
Categories / JavaScript Tutorial / Number Data Type
 

Number NaN

The NaN property represents a value that is not equal to any numeric value. <html>     <body>     <script language="JavaScript">     <!--     if(123 == Number.NaN){          document.write("This is not a number");     }     -->     </script>     </body>     </html>