Tag Archives: Switch multiple selection statement

5.5.3 Switch multiple selection statement

Previously we discussed the if  single-selection statement and the if ..else double selection statement.   In certain situations a variable or expression is tested separately for each of value it may assume and different actions are taken for each value.  JavaScript provides the switch selection statement to handle such decision making. Syntax: Switch(n) { Case1: execute


  • Email Subscription

    Sign-up for our email newsletter and get free job alerts, current affairs and GK updates regularly.

    Subscribe Here

  • Twitter Followers

    1464 people follow tut2learn
    keteleigh keteleig CarolIbeas CarolIbe lotus_value lotus_va GrayHairNoMore GrayHair masterdheen masterdh uyog_olipapar56 uyog_oli
Popup Dialog Box Powered By : XYZScripts.com
  • RSS
  • Facebook
  • Google+
  • Twitter