This is what i get when i run test : SyntaxError: unknown: ‘return’ outside of function (10:2)
**Your code so far**
function testLogicalAnd(val) {
// Only change code below this line
if (val <= 50 && val >= 25) { return "Yes"; }
}
// Only change code above this line
return "No";
}
testLogicalAnd(10);
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36.
Challenge: Comparisons with the Logical And Operator