9.1 returning false


#1

I keep getting a return of false, cannot see what it is in the code... any help please.

var isEven = function(number) {
if( isEven % 2 === 0 )
{
return true;
}
else
{
return false;
}
};
isEven(10)


#2

Hi
in the if condition, you are checking isEven instead of number


#3

wow cant believe i missed it, thank you!