64年es6_流程控制

whiledo…而

…在

…的

breakcontinue

js ES6

letvar letletvar

如果(电导率){

}

else if (cond2) {

}

else if (cond3) {

}

其他{

}

开关…情况下

其他开关caseif…

开关……情况下

默认

开关(表达式){

案例label_1:

语句1

[打破;]

案例label_2:

statement2

[打破;]

默认值://

statement_def

[打破;]

}

C

1如果(1)返回;如果(1){返回;}

([initialExpression]);[状态];[incrementExpression]) {

声明}

,(让我=0;

(,) {}//

whiledo……当

当(真正的){}

,(条件){//

声明

}

做{//

声明

},(条件);

99

……在

……在

…inkey

Cforfor……在

jspy

……

ES6for……ofofpyfor有限公司我在[]

……在

breakcontinue

打破

继续


64年es6_流程控制