I can’t get my code to work, can somebody check it and see if there is a human error by me, or is the website just messed up and won’t let me “test” it?
function caseInSwitch(val) {
var answer = "";
// Only change code below this line
switch(val) {
case 1 :
answer = "alpha";
break;
case 2 :
answer = “beta”;
break;
case 3 :
answer = “gamma”;
break;
case 4 :
answer = “delta”;
break;
}
// Only change code above this line
return answer;
}
// Change this value to test
caseInSwitch(1);