Posts Tagged ‘decisions’

The ELSE Clause

Tuesday, January 29th, 2008

If statements not only allow us to specify statements to be run if a condition is true. By adding an else clause we can also specify alternative statements to be run if the condition is false.

The ELSE Clause

The IF statement

Monday, January 28th, 2008

Continuing on with the tutorials on how JavaScript handles decision making, this fourth tutorial introduces the first of the decision making commands - the if statement.

The IF statement