Is it possible to add all the cases in the following code together, since they will execute the same function? (Javascript)
what I have:
function blabla(x){
switch (x){
case 1:
case 2:
case 3:
return "hello";}
}
what I want:
function blabla(x){
switch (x){
case /*1,2 and 3 together in only one case*/:
return "hello";}
}