What's wrong with my code?

What's wrong with my code?
0

#1

I have tried every which way but still coming up with errors:

`function myTest(val) {
var answer = “”;
// Only change code below this line
switch(val){
case “a”:
answer=“apple”;
break;
case “b”:
answer=“bird”;
break;
case “c”:
answer=“cat”;
break;
default:
answer=“stuff”;

// Only change code above this line
return answer;
}
}

// Change this value to test
switchOfStuff(1);

`


#3

Embarrassed! Works. Thank you