JavaScript Statement Reference
Statements (somtimes called constructs or commands), are used to manipulate data and objects to achieve the programming goal (such as swapping an image, filling in a text box, etc.).
Statements can be broken down into two main categories: Conditional statements and Looping statements.
Conditional Statements
Conditional statements are used to branch the code based on the value of a variable of object property. For details, visit the Conditional Statements page.
Looping Statements
Looping statements are used to repeat a particular sequence of commands until given conditions are met. For more information, visit the Looping Statements page.