How to repeat actions a given number of times?

Compact syntax with timing methods:

1
$('.some').repeat().doThis().jQueryStuff().until(count);

Compare this to the old way with more syntactic fluff:

1
2
3
for (var i = 0; i < count; i++) {
  $('.some').doThis().jQueryStuff();
}

Similar patterns with closed loops

Similar patterns with sequential loops