Changes

Jump to: navigation, search

JavaScript Flow Control and Looping

8 bytes added, 14:44, 24 April 2007
JavaScript ''switch'' Statements
<pre>
switch (''value'')
{
case : "''match1''"
''statements''
''statements''
break;
}
</pre>
switch (carModel)
{
case : "Durango"
document.write ("Manufactured by Dodge");
document.write ("Unknown Car Model");
break;
}
</pre>

Navigation menu