Javascript operator && alternative option(required for limitation)
<p>How I can write the following without <code>&amp;&amp;</code>?</p>

<pre><code>if(a == 1 &amp;&amp; b == 2) { ... }
</code></pre>

<p>Can I create a function for the operator?</p>
