How is eval working overhere or how is it behaving?
<pre><code>eval(0+'1'+3) =&gt; 11 (???)
</code></pre>

<p>When eval(0+'1') is executed =>1. Iam expecting that 0+'1' will give me 1 &amp; 3 will be considered as string &amp; o/p => 13. But, why is that not happening?</p>

<p>whereas</p>

<pre><code>eval(1+'1'+3) =&gt; 113 
</code></pre>
