Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
function trueOrFalse(wasThatTrue) {
// Only change code below this line
function ourTrueOrFalse(isItTrue) {
return "No, it's false";
}
return "Yes, it's true";
}
function TrueOrFalse(wasThatTrue) {
if(wasThatTrue)
{ return "No, that was false";
}
return "Yes, that was true";
}
console.log(trueOrFalse(true));
// Only change code above this line
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.47
Challenge: Basic JavaScript - Use Conditional Logic with If Statements