I don't get it


#1

Click here to go to my program

I just don't get what the instructions say.do ?.:question:
you I just don't know! Help?Help me?Please? :confused:


ar isEven = function(number) {
  // Your code goes here!

      if(){
          
          
          
          
          
          
        } else{
            
            
            
            
        }
      
      
 
};


#2

The instructions want you to create a function that checks if a number is even.

var isEven = function(number) {
  if (number is even) {
      return true;
  }
  else {
      return false;
  }
};
isEven();

You'll have to replace number is even with the JS equivalent. Hint: Use %


#3

how did you make Use % blurred?


#4

Just a nice trick I have :) You may as well create a new topic on this, and I'll answer it there :slight_smile:


#5

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