
JavaScript 小于比较运算符<
function myTest(val) {
if (val<25) {// Change this line
return "Under 25";
}
if (val<55) {// Change this line
return "Under 55";
}
return "55 or Over";
}
// Change this value to test
myTest(10);
function myTest(val) {
if (val<25) {// Change this line
return "Under 25";
}
if (val<55) {// Change this line
return "Under 55";
}
return "55 or Over";
}
// Change this value to test
myTest(10);
关闭