Tell us what’s happening:
Your code so far
function testLessThan(val) {
if (val) { // Change this line
if(val<25)
return "Under 25";
}
if (val) { // Change this line
if(val<55)
return "Under 55";
}
return "55 or Over";
}
testLessThan(10);
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
.
Challenge: Comparison with the Less Than Operator
Link to the challenge: