if (someBoolean == true) {
doSomething();
}
if (result == true)
return true;
else
return result;
if (result <=
handling();
}
else if (result >
otherHandling();
}
else {
handling(); // to be sure
}
function DocumentDotWrite(s){
document
}
From:http://tw.wingwit.com/Article/program/Java/hx/201311/26810.html