Basic JavaScript: Selecting from Many Options with Switch Statements . what's wrong pleaz

function caseInSwitch(val) {
var answer = “”;

// Only change code below this line
switch(val) {
case 1: answer === “alpha”;
case 2: answer === “beta”;
case 3: answer === “gamma”;
case 4: answer === “delta”;
// Only change code above this line
return answer;

// Change this value to test

// running tests

caseInSwitch(1) should have a value of “alpha”

caseInSwitch(2) should have a value of “beta”

caseInSwitch(3) should have a value of “gamma”

caseInSwitch(4) should have a value of “delta”

// tests completed

You are supposed to be assigning a given value to the variable answer.

=== is not what you use to assign values to variables.

case values are tested with strict equality ( === ).

It means that writing case 2 is like writing if (val === 2)

You don’t need to test answer, you need to assign a value to it