Need help with solving = (Replacing If Else Chains with Switch)

function chainToSwitch(val) {
var answer = “”;
// Only change code below this line

switch (val) {
case “bob”:
answer = “Marley”;
case “42”:
answer = “The Answer”;
case “1”:
answer = “There is no #1”;
case “99”:
answer = “Missed me by this much!”;
case “7”:
answer = “Ate Nine”;

// Only change code above this line
return answer;

// Change this value to test

this there something that I am missing???

I believe the numbers should be actual numbers, as in 42, not "42". It would help if you mentioned what error you are seeing in the lower-right corner of the challenge screen.

chainToSwitch(42) should be “The Answer”

chainToSwitch(1) should be “There is no #1

chainToSwitch(99) should be “Missed me by this much!”

chainToSwitch(7) should be “Ate Nine”

your right they, they were meant to be numbers and not strigs. cheese