setInterval(draw, 1); function draw() { degrees += props.speed; if (degrees >=90) { return false; }}
setInterval(draw(90), 1); function draw(stop) { degrees += props.speed; if (degrees >=stop) { return false; }}
setInterval(function () { draw(90) }, 1);
setInterval(draw.bind(null, 90), 1);