I cant run the test it doesnt show is it correct or not

Tell us what’s happening:

   **Your code so far**

function testLogicalAnd(val) {
 // Only change code below this line
   if (val <= 50 && val >= 50) {
return "Yes";
   }
 }

 // Only change code above this line
 return "No";
}

testLogicalAnd(10);
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36.

Challenge: Comparisons with the Logical And Operator

Link to the challenge:

i cant run the test to see if its correct or not what should i do?

You have too many }s

This is an almost impossible condition to reach, by the way.

i just passed the test did
`(val <= 50 && val >= 25) and deleted one of }

1 Like