title: What's the prettiest way to compare one value against multiple values?
body: <p>Whats the <em>prettiest</em> way to compare one value against multiples options?</p>
  
  <p>I know there are loads of ways of doing this, but I'm looking for the neatest.</p>
  
  <p>i ask because i'd hoped this was workable (it isn't, quite obviously when you look at it):</p>
  
  <pre><code>if (foobar == (foo||bar) ) {
       //do something
  }
  </code></pre>