小笔记

来源:互联网 发布:阿里云 那个机房快 编辑:程序博客网 时间:2024/06/12 00:25

一、代码中的优先级

if(a){x=a;}else if(b){x=b;}else{x=c;}


这其中是隐含优先级的,a的优先级最高,b次之,其余最低。