More On Control Flow in JS


I'm sorry, but I don't know what my code is wrong. The function returned the right answer, and 3 is definitely not returning true is this case.


else if (isNaN(number) === true)

should just be:

else if (isNaN(number))


I tried that too, but it doesn't change the response the site gives me. I even put is isEven(3) to prove that it doesn't return a true. I don't know what to do when my function is correct but the site says it isn't.