fall-through
Prueba para múltiples casos en un interruptor, como un OR (||)
¿Cómo se utiliza un switch case cuando usted necesita probar para a o b en el mismo caso?
switch (pageid) {
case "listing-page" || "home-page":
alert("hello");
break;
case "details-page":
alert("goodbye");
break;
}