Tell us what’s happening:
Dear Friends ;
Hope you all doing great -
I looked through the previous solutions and I feel like I’m doing right but should be missing something that I can’t see … I stucked in here
Thank You Very Much
Your code so far
function trueOrFalse(wasThatTrue) {
// Only change code below this line
function trueOrFalse(wasThatTrue) {
if (wasThatTrue) {
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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Challenge Information:
Basic JavaScript - Use Conditional Logic with If Statements