Chapter 6. JavaScript: Control Statements II

<feature><title>Objectives</title>

In this chapter you will learn:

<objective>

The essentials of counter-controlled repetition

</objective>
<objective>

To use the for and do...while repetition statements to execute statements in a program repeatedly.

</objective>
<objective>

To perform multiple selection using the switch selection statement.

</objective>
<objective>

To use the break and continue program-control statements

</objective>
<objective>

To use the logical operators.

</objective>
</feature>
 

Not everything that can be counted counts, and not every thing that counts can be counted.

 
 --Albert Einstein
 

Who can control his fate?

 
 --William Shakespeare
 

The used key is always bright.

 
 --Benjamin Franklin
 

Get Deitel® Developer Series AJAX, Rich Internet Applications, and Web Development for Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.