9.2 Unexpected identifier


#1

I'm getting SyntaxError: Unexpected identifier

var isEven = function(number) {
  // Your code goes here!
  if isNaN(number) {
      return "Not a number";
  } else if  (number % 2 == 0) {
      return true;
  }
  } else {
      return false;
  }
};

#2

Your second if statement should be

/// if ( isNaN(number)){
return "Not a number";

you omitted brackets for your if statement" ( )"