2/14 help


#1

So the code seems to be working but i dont get the message on the box.

var isEven = function(number) {
// Your code goes here!
if (number % 2 === 0)
{
return true;
}
else if (isNaN(number))
{
return "This is not a number";
}
else
{
return false;
}
};


#2

This exercise has no screen output since we are not asked to run it. To see the output, log the call expression:

console.log(isEven(3));