If/elseif error


showing undetermined string literal error

Replace this line with your code. 
var isEven = function(number) {
  // Your code goes here!
      return true;
  else if(isNaN(number)===false){
      return "Entered input is not a number;
      return false;


You see how in the syntax highlighting the code following the return is red? That's because it's in a string!

Put a closing quote on that line following number but before the semicolon.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.