1function caseInSwitch(val) {
2
3 var answer = "";
4
5 switch(val){
6 case 1:
7 answer = "alpha"
8 break;
9 case 2:
10 answer = "beta"
11 break;
12 case 3:
13 answer = "gamma"
14 break;
15 case 4:
16 answer = "delta"
17 break;
18 }
19
20 return answer;
21}
22
23caseInSwitch(1);