code: function(str, times) {
          if (String.prototype.repeat) return str.repeat(times);
          return Array.apply(null, new Array(times)).map(function() {
            return str;
          }).join('');
        }
docs: Repeats a string a number of times.
  
  repeat :: (a, n) → r
  
  @param (str, times) - A string to repeat, and a number for the amount of repetitions
  @returns A repeated string