Simple Swicth Case Code

Puneet20884
Posted by Puneet20884 under JavaScript category on | Views : 2194
Simple code goes as:
Do as per your requirement.

switch (exp){
case val1:
statement1;
break;
case va2:
statement2;
break;
"
"
default : statementdefault;
}

Comments or Responses

Login to post response