The if statement (if...else if...else)

The most often used flow control statement is if statement, or extended if...else if...else. This kind of statement controls the flow of t...

The switch statement (switch...case...default)

The switch statement is another flow control based type of a statement. This type of a conditional statement is always used for more than a few solutions n...

The while statement (while)

The while statement is a loop executing kind of a statement used to pre-test flow conditions. The while loop statement is called a

The do-while statement (do...while)

The do...while statement is a loop executing kind of a statement used to post-test flow conditions. The do...while loop statement is called a ...

The for statement (for)

The for statement is a loop executing kind of a statement used to pre-test code's flow conditions. This type of a statement is the...

The for-in statement (for...in)

The for-in statement is used to return a property or properties of an object. The syntax looks like this: for (property in express...

The break and continue statements (break, continue)

The break and continue statements offer additional control over the code execution inside a

Labeled statements (label)

Labels are common technique across the programming world and JavaScript is no exception. The labels or label statements are often used with the

The with statement (with)

The with statement sets the scope of the code within a