swift00003
来源:互联网 发布:js自动刷新页面 编辑:程序博客网 时间:2024/05/06 21:39
fall through:跳转
如:
switch(){
case 1:
break:
case 2:
fall through
break
case 3:
break
}
执行fall through时无视break继续往下执行
0 0
来源:互联网 发布:js自动刷新页面 编辑:程序博客网 时间:2024/05/06 21:39
fall through:跳转
如:
switch(){
case 1:
break:
case 2:
fall through
break
case 3:
break
}
执行fall through时无视break继续往下执行