switch(val){
case "bob":
answer = "Marley";
break;
case "42":
answer = "The Answer";
break;
case "1":
answer = "There is no #1";
break;
case "99":
answer = "Missed me by this much!";
break;
7answer = "Ate Nine";
break;
}
return answer;
// Only change code above this line
return answer;
}
// Change this value to test
chainToSwitch(7);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0.
Not to be discouraging, but you’ll really not learn a lot if you only imitate our answers and don’t try to figure out why the stuff’s not working the way it’s supposed to.