for loop array length
<pre><code>var stack = new Array();
var ii = 0;

function pushTutor(item) {
var jj = stack.length;
    for(ii=0;ii&lt;jj;ii++) {
        stack.push(item);
        alert(stack);
    }
}
</code></pre>

<p>I remember the stack.length cause the issue which is not able to loop at all. What is the solution for this?</p>
