function trueOrFalse(wasThatTrue) {
// Only change code below this line
if (true) {
return "Yes, that was true";
}
return "No, that was false";
// Only change code above this line
}
Challenge: trueOrFalse(false) should return the string No, that was false
In the case above the value false is passed as the argument to the function. Inside the function, what variable represents the argument passed in? That is what you should be checking to see if is true.