I think I caught a typo

I think I caught a typo
0.0 0


the challenge asked me to return “Yes, that was true” if the true argument was passed into the function, and it worked.
it also asked me to return “No, that was false” if the false argument was added into the function, and I copied it letter-to-letter, and it didn’t work

My code

// Example
function ourTrueOrFalse(isItTrue) {
  if (isItTrue) { 
    return "Yes, it's true";
  return "No, it's false";

// Setup
function trueOrFalse(wasThatTrue) {

  // Only change code below this line.
return "Yes, that was true";
  else{return "No, that was false";}
  // Only change code above this line.


// Change this value to test

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:


Review your if statement carefully. trueOrFalse is the name of the function and not a variable.


Thank you for your help!