Tell us what’s happening:
Comparisons with the Logical Or Operator
here i tried solving this question for hours what might have gone wrong , i solved using same code in vscode yet in this question it say string is not returning , my confident guess is code editor has some issues , please do fir it
Your code so far
function testLogicalOr(val) {
// Only change code below this line
if(val>20|| val<10 ){
return "Outside "
}
// Only change code above this line
return "Inside";
}
testLogicalOr(15);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Challenge Information:
Basic JavaScript - Comparisons with the Logical Or Operator