Unexpected result from expression using &
<p>Here if  </p>

<pre><code>document.write(eval("(2 == 2)"));
</code></pre>

<p>it prints <strong>true</strong></p>

<p>And </p>

<pre><code>document.write(eval("(2 == 2)&amp;(5&lt;10)"));
</code></pre>

<p>it prints <strong>1</strong><br>
Why not it always returns true or false.If conditions increases in string it gives 0 or 1.What is the way to get same type of result.</p>
