Help me out


#1


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


whats wrong with this?


#3

isEven is the name of your function, it doesn't make sense to call your function within your function, right?
number is the argument that you give your function.
you want to test that number isEven.


#4

thanks :slight_smile:


#5

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