Hello, I need personal help please, I’m stuck in the exercise If / else if / else
the console always appears “false”, oh well below always returns the error your “function returns false for 2!”.
var isEven = function(number) {
var isNaN = function(number) {}
// Your code goes here!
if (number % 2 === 0)
{return (“O valor é Verdadeiro!”) === true;} // O valor é Verdadeiro!
else if
(isNaN(“Chi0gy”))
{return “Isso é um String!”;}
else
{return (“O valor é Falso!”) === false;} // O valor é Falso!
};
isEven(10);