Working on the lesson Use Conditional Logic with If Statements
Here is what I have:
function trueOrFalse(wasThatTrue) {
// Only change code below this line
If (wasThatTrue) {
return "Yes, that was true";
}
return "No, what was false";
// Only change code above this line
}
trueOrFalse(true);
To me this seems to be exactly what they’re looking for. I’m getting errors about missing semi-colons, but the example does not have them.
I’m now stuck and can’t move forward.
Did I just waste two hours of my time??