Monday, March 24th, 2008

The SWITCH Statement

The if statement isn’t the only way that javaScript can make decisions. While an if statement can decide between true and false, the switch statement can test a single field for any number of different values and provide a different processing path for each.

The SWITCH Statement

Share and Enjoy:
  • Digg
  • del.icio.us
  • Furl
  • description
  • StumbleUpon

Tags: , , ,

Leave a Reply