Issue with Javsacript IN operator
<p>I have a little issue regarding <code>IN</code> operator in javascript.</p>

<p>As we know that <a href="http://www.dzone.com/snippets/using-javascripts-operator" rel="nofollow">simplifies redundant logical ORs</a>.</p>

<p>I have the following statement:</p>

<pre><code>if(value==="abc" || value==="cde" || value==="efg" || ...){
 ...
}
</code></pre>

<p>I could use </p>

<pre><code>if(value in { "abc":1, "cde":1, "efg":1, ... }){
  ...
}
</code></pre>

<p>I wrote this as an example but Google Chrome Console get an error:</p>

<pre><code>Uncaught SyntaxError: Unexpected token : 
</code></pre>

<p>Where's my mistake?</p>
