1 if/else please help


var isEven = function(number) {
// Your code goes here!
return "true"
} else {
return "false"



true and false are Boolean values, you should just return the boolean value:

return true

same or false, you are currently returning a string


thx a lot now it works


8 posts were split to a new topic: [solved]1 if else help