2/14: Help Me!


I honestly don't know what I'm doing wrong. Help anyone? It returns "Oops, try again. Your function returns true for 3!" Here's my code:

var isEven = function(number) {
if (number % 2 === 0) {
return true
} else if (ifNaN = number) {
return "The number is nonexistent. Commence emergency TARDIS operations."
} else {
return false


Never mind! I found the answer!


It's great when you found the error but then please choose one of the two option, either delete the question or explain what you changed so that your codes is running now to help people who struggle with the same or a similar problem.