When number = 2 it returns false


#1

var isEven = function(number) {

if ( number % 2 ) { return true; }

else { return false; }

};

i can't figure out where i went wrong ? : P


#2

Hi! Good to see you again!:smiley:

Anyways, the problem is that you have to say that what it should equal to. For example:

if(baggy % 2 === 0){
return true
}else{
return false}


#3

i don't have a clue as to what to put it equal to...


#4

never mind go it lol