Slots machine in JS - stack call size exceed
<p>I'm trying to make a basic (non animated) slot machine but am getting an error with stack size.</p>

<p>I'm hoping some one can explain what the cause is =/</p>

<p>My Error :</p>

<pre><code>Uncaught RangeError: Maximum call stack size exceeded
</code></pre>

<p>Code:</p>

<pre><code>    window.requestAnimFrame = (function(){
      return  window.requestAnimationFrame       || 
              window.webkitRequestAnimationFrame || 
              window.mozRequestAnimationFrame    || 
              window.oRequestAnimationFrame      || 
              window.msRequestAnimationFrame     || 
              function( callback,  element){
                window.setTimeout(callback, 1000 / 60);
              };
    })();
var img_array = new Array('fire','life','lightning','rain','snow','sound','sun');


function roll(start_time){
var seconds_passed = new Date().getTime() / 1000 - start_time ;

if(seconds_passed &lt; 3){
    slot = 1;
    while(slot &lt; 4){
        randno = Math.floor(Math.random()*img_array.length);
        document.getElementById("slot"+slot).innerHTML = '&lt;img src="'+img_array[randno]+'.png"/&gt;';
        slot++;
        }
    requestAnimFrame(roll(start_time));     
    } else {
    document.getElementById("start").innerHTML = 'Roll The Slots Again?';
    document.getElementById("start").onclick = function(){start(); };
    }
    return false;
}

function start(){
start_time = new Date().getTime() / 1000;
document.getElementById("start").innerHTML = 'Processing......';
roll(start_time);
}

window.onload = function(){
document.getElementById("start").innerHTML = 'Roll The Slots';
document.getElementById("start").onclick = function(){start(); };
}
</code></pre>

<p>Where is my mistake ?</p>
