UncleCoder.com

UncleCoder.com

Free programming examples and instructions

How to check variable is NaN

Demo and Code for how to check a variable is NaN

by Athil


Posted on 15 Jun 2017 Category: Javascript Views: 301

Edited on 30 Jun 2017



Hi, here I am going to show how to check variable is NaN 

if(isNaN(variable-name)== true)
{
     alert('true');
}

 



Leave a Comment:


Advertisement