JavaScript - statements

Statements are important elements for writing programs. Generally one statement line corresponds to one line program. The main group of the statements are: cycles, program branching and flow control.

Examples - JavaScript

JavaScript
 i = x * 5;
 while (i>0)
   if (i==10)
     break;
   else 
   {
     i--;
   }

Other pieces of example codes:
JavaScript
y--;
if (i==16)
 {
    continue;
 }
 
while ( y <= 32 )  
   y++;
do --i; while ( i > 0);
if (i==5)
    break;
z = x ^ 123;
Languages: en hu cz sk