3/14 help!


#1

// Write your loop below!
var isEven = function(number) {
if (number%2===0){
return ("true");
}else{
return("false");
}
};
isEven(3);
//whats wrong!

I really want help


#2

Remove the quotes from around true and false. It is turning them into string values.


#3

in addition to what @zeroclifawn has said , on the last line you need to do

console.log(isEven(3));

to see the result