Why is this code wrong if the insturctions tell you to use strict equality ===. I have seen some solutions and they did not use strict equality. Thank you.
function caseInSwitch(val) {
var answer = "";
// Only change code below this line
switch(val) {
case val === 1:
return "alpha";
break;
switch(val)
case val === 2:
return "beta";
break;
switch(val)
case val === 3:
return "gamma";
break;
switch(val)
case val === 4;
return "delta"
break;
}
// Only change code above this line
return answer;
// Change this value to test
caseInSwitch(1);