I feel like I am writing exactly the exact same thing as in the answer and it still doesn’t work. Any ideas on what is wrong?
**Your code so far**
function trueOrFalse(wasThatTrue) {
// Only change code below this line
if (wasThatTrue) {
return "Yes, that was true";
}
return "No, that was false";
}
console.log(trueOrFalse(true))
// Only change code above this line
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
.
Challenge: Use Conditional Logic with If Statements
Link to the challenge: