Help with if/else if exercise


<Below this line, add a link to the EXACT exercise that you are stuck at.

ReferenceError: isNan is not defined

var isEven = function(number) {
  // Your code goes here!
  if(number % 2 === 0)
   return true;
   else if(isNan(number))
       return "input is not valid";
       return false;


isNaN, both n's should be uppercase


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.