the below code giving some unexpected results. can anyone tell me the reason or logic behind that?
<HTML><body><script type="text/javascript">s="10+10";alert("here 3 : "+eval(s+s+s));alert("here 4 :+eval(s+2));</script></body></HTML>
in first alert it's giving 2040 and in second alert it's giving 112
i'm not able to understand the logic kindly help me.