function sequentialSizes(val) {
var answer = "";
// Only change code below this line
switch(val){
case val >= 1 && val <=3:
answer = 'Low';
case val >= 4 && val <= 6:
answer = 'Mid';
case val >= 7 && val <= 9:
answer = 'High';
}
// Only change code above this line
return answer;
}
sequentialSizes(1);
Your browser information:
Challenge: Multiple Identical Options in Switch Statements