lib/utils.js
function repeat(str, n) {
    var result = '';

    for (var i = 0; i < n; i++) {
        result += str;
    }

    return result;
}
function repeat(str, n) {
    var result = '';

    for (var i = 0; i < n; i++) {
        result += str;
    }

    return result;
}
function repeat ( str , n ) { var result = '' ; for ( var i = 0 ; i < n ; i ++ ) { result += str ; } return result ; }
Repeats a string `n` time.
@param  {String} str String to be repeated.
@param  {Number} n   Number of times to repeat.
Repeats a string n time .