Where did this -11 came from?
<p>I was playing around with the following code:</p>

<pre><code>function recaller(){
    while(x-- &gt; 0)recaller();
}

var x = 10;
recaller();
alert(x); //-11?
</code></pre>

<p>But I was astonished to find that the <code>x</code> now holds the value of <code>-11</code></p>

<p>I later added <code>alert(x);</code> above the <code>while</code>, to see if it displayed correctly the numbers <code>10</code> to <code>0</code> and it did.</p>

<p>Can someone explain me where did the <code>-11</code> came from?, my debugging skills failed me this time and I have no clue how to keep testing</p>
