Tell us what’s happening:
Th=he code doesn’t work. Please help me.
SyntaxError: unknown: Unexpected token (4:11) Your code so far
function testLogicalAnd(val) {
// Only change code below this line
if (val =< 50 && val >= 25) {
return "Yes";
}
return "No";
}
// Change this value to test
testLogicalAnd(10);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36.
Challenge: Comparisons with the Logical And Operator