Tell us what’s happening:
I keep getting the response: trueOrFalse(false)
should return the string No, that was false
As far as I can tell I have done exactly what this assignment asks of me. I even went as far to copy the exact phrase to make sure I don’t have any misspellings or typo issues.
Is this a bug? How can I proceed to the next assignment?
**Your code so far**
function trueOrFalse(wasThatTrue) {
// Only change code below this line
if (trueOrFalse) {
return "Yes, that was true";
}
return "No, that was false";
// Only change code above this line
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0
Challenge: Use Conditional Logic with If Statements
Link to the challenge: