Says function returns false when = 2


#1


it returns false even if isEven comes as divisible by2.

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

#2

change if(isEven % 2){ to if (number % 2 === 0)

and change isEven(18) to isEven(4)