How would you use a switch case when you need to test for a or b in the same case?
switch
case
switch (pagei
You have to switch it!
switch (true) { case ( (pageid === "listing-page") || (pageid === ("home-page") ): alert("hello"); break; case (pageid === "details-page"): alert("goodbye"); break; }