title: Switch on ranges of integers in JavaScript
body: <p>I want to do something like this</p>
  
  <pre><code>    switch (this.dealer) {
          case 1-4: 
              // Do something.
              break;
          case 5-8: 
              // Do something.
              break;
          case 9-11: 
              // Do something.
              break;
          default:
              break;
      }
  </code></pre>
  
  <p>What is the right syntax for this? Is it possible in JavaScript?</p>
  
  <p>So <code>this.dealer</code> is an integer, and if it's between those values, do something.</p>