Tell us what’s happening:
Describe your issue in detail here.
I copied and pasted the required text from the lesson, and yet it’s saying that my “false” string isn’t “No, that was false”. Any ideas?
**Your code so far**
function trueOrFalse(wasThatTrue) {
// Only change code below this line
if(wasThatTrue = true){
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:94.0) Gecko/20100101 Firefox/94.0
Challenge: Use Conditional Logic with If Statements
Link to the challenge: