The switch statement of JavaScript 1.2
|
Article by: |
unknown (2/5/2002) |
|
Summary:
|
The switch statement is basically an enhanced version of the `if-else` statement that is more convenient to use when you have code that needs to choose a path from many to follow. |
|