<<< Switch statement using a string | Index | The syntax of the do-while loop >>> |
A switch statement that falls through case labels
switch (dayOfWeek) { case 2: case 3: case 4: case 5: case 6: day = "weekday"; break; case 1: case 7: day = "weekend"; break; }
<<< Switch statement using a string | Index | The syntax of the do-while loop >>> |