I'm new to this, so wondering if someone could please advise why isNaN() is undefined?
package nan;
public class nan {
public static void main(String[] args) {
{
if (isNaN(1))
{System.out.println("true");}
};
}
}
thanks