title: Test for multiple cases in a switch, like an OR (||)
body: <p>How would you use a <code>switch</code> <code>case</code> when you need to test for <em>a</em> <strong>or</strong> <em>b</em> in the same case?</p>
  <pre><code>switch (pageid) {
    case &quot;listing-page&quot;:
    case &quot;home-page&quot;:
      alert(&quot;hello&quot;);
      break;
    case &quot;details-page&quot;:
      alert(&quot;goodbye&quot;);
      break;
  }
  </code></pre>