Tell us what’s happening:
this is valid, but it isnt letting me pass.
**Your code so far**
function trueOrFalse(wasThatTrue) {
// Only change code below this line
if (trueOrFalse) {
return "Yes, that was true";
}
else {
return "No, that was false";
}
}
console.log(false);
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0
Challenge: Use Conditional Logic with If Statements
Link to the challenge: