i have a trouble, well, i do not which of the two modes are better:

var co= 6;
var step = function() {
if(co>0) {
co--;
$('.com'+co).animate({
'height': 0
},800);
setTimeout(step,100);
}
}
setTimeout(step,100);

or this

var co = 6;
var handler = setInterval(function(){
$('.com'+co).animate({
'height': 0
},800);
co--;
if(co<0)
clearInterval(handler);
},810);

i have the same result with anyone of two, but with your experience, of the two wich is better for use?
thanks