if 和 else if

if{表达式1};

else if{表达式2};

当表达式1为true,不论表达式为true或者false,都直接跳过else if。

posted @ 2019-07-21 16:08  小小WEB家  阅读(314)  评论(0编辑  收藏  举报