title: Test multiple conditions in javascript switch statement
body: <p>Is it possible to test multiple conditions in a javascript switch statement? For example:</p>
  
  <pre><code>switch (var1 &amp;&amp; var2) {
      case var1 == 1 || var2 == 1:
          alert("1");
          break;
      case var1 == 2 || var2 == 2:
          alert("2");
          break;
          //etc...
  }
  </code></pre>
  
  <p>The reason I am asking is because this would be a lot easier than using tons of if or switch statements.</p>