9.2 what am i doing wrong?


#1

var isEven = function(number) {

if(isNAN(number))
{

 return "This is not a number";

}

else if(number%2===0) {
return true;

}

else {
return false;
}

};


#2

if(isNAN(number))

Change "isNAN" to "isNaN"


#3

thank u man!!! i feel so stupid!!! thanku again!!!!