Changes

Jump to: navigation, search

JavaScript Flow Control and Looping

525 bytes added, 18:59, 23 April 2007
no edit summary
with Statements
 
== Conditional Statements ==
 
Conditional statements control the parts of a script that executed depending the result of a particular expression (i.e whether an expression returns a boolean ''true'' or ''false'' value). The two types of conditional structures are ''if'' and ''if ... else''. In this section we will take a closer looka t both of these condtional structures.
 
=== The JavaScript if Structure ===
 
In both cases the ''if'' statement is followed by the expression to be evaluated. In this section we will take

Navigation menu