Continuing the discussion from freeCodeCamp Challenge Guide: Adding a default option in Switch statements:
function switchOfStuff(val) {
var answer = "";
// Only change code below this line
switch (answer) {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(a);