If / else if / else


#1

If / else if / else

SyntaxError: expected expression, got keyword 'else'


 
var isEven = function(number) {
  if (number % 2 === 0) {
      return true; }
        else if  (isNaN(number));
  { return "Get out!";
  }
  else {
          return false;
          }
};


#2

else if  (isNaN(number)); // unnecessary semi-colon

#3

Thank you very much!


#4