Confused in Comparisons with the Logical Or Operator challenge

function testLogicalOr(val) {
  if (val>10||val<=20) {
    return "Outside";
  }
  return "Inside";
}
testLogicalOr(20);

I cleaned up your code.
You need to use triple backticks to post code to the forum.
See this post for details.

You are mixing “Outside” and “Inside”. The function should return “Outside” when val is NOT between 10 and 20, inclusive (so 10 and 20 are still “Inside”).

@akshayv97 Follow the add ups @BenGitter suggested, you need to check the value whether they are not between 10 and 20 .

Thank you all guy’s for your help!