前端系列之JavaScript(流程控制語句)

JS的分支語句: 條件語句if 語法一:javascript if(condition){ statement1; } 語法二:css if(condition){ statement1; }else{ statement2; } 語法三:java if(condition){ statement1; }else if{ statement2; }...else{ statement3; }
相關文章
相關標籤/搜索