Underscore.js 1.7の使い方 Utility編 times
var r = document.getElementById("r"); _(3).times(function(n) { r.innerHTML += 'A'; }); // => AAA