If / Else : forgot to define a function


#1

don't understant where is the mistake.
here's the code :

var isEven = function(number) {
if ( number % 2 === 0 ){
return True;
} else { return False; }
};

console.log(isEven())
console.log(isEven(2))
console.log(isEven(3))


#2

true and false are not capitalized in JavaScript. If you are coming from Python, that will be one thing to have to get used to.