Need help here


#1

It keeps saying syntax error, I just can't figure it out. the code is below.

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


#2

never mind guys, I got it fixed. it was the space between the equals signs.
instead of if(number%2 = = = 0)
it should be if(number%2 === 0)


#3

you should make your answer a solution so people know it is fixed

just some advice....