Global.NaN : NaN « Global « JavaScript Tutorial






The NaN object represents an object that is not equal to any number, including itself.

NaN stands for Not a Number.

<html>
    <body>
    <script lanuguage="JavaScript">
    <!--
    if ("a" != NaN){
         document.write("This is not a number");
    }else{
         document.write("This is a number");
    }
    -->
    </script>
    </body>
    </html>








8.9.NaN
8.9.1.Global.NaN