Switch Statements...driving me mad

Have been through many posts of people also having difficulty with this problem and I suspect that it is something very simple…would appreciate a pointer as to where the errant keyboard entry is…
cheers
col

Your code so far


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;
}

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36.

Challenge: Selecting from Many Options with Switch Statements

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/selecting-from-many-options-with-switch-statements

You have to return the result. Here is “answer”.

Thanks for that…
cheers
col