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