title: In JavaScript, how do you check "a" against "b," "c," etc. in a simple manner?
body: <p>Currently, the only way I know of to do what the title states is by writing the following:</p>
  
  <pre><code>var a = 3, b = 5, c = 3;
  if (a === b &amp;&amp; a === c) {
    // code
  }
  </code></pre>
  
  <p>Or by using the ternary operator:</p>
  
  <pre><code>(a === b &amp;&amp; a === c) ? /* code */ : /* else */
  </code></pre>
  
  <p>Is there a way to check <code>a</code> against both <code>b</code> and <code>c</code>? Something like this perhaps:</p>
  
  <pre><code>if (a === (b &amp;&amp; c)) {
    // code
  }
  </code></pre>
  
  <p>Obviously this doesn't work as intended, which is why I'm asking the question. Any help is appreciated.</p>
  
  <p>This is <strong>not</strong> a duplicate of the other 2 - those two are using the OR operator. I'm asking about the AND operator.</p>