whole_func_string: function repeat (s, times) {
                      times = parseInt(times, 10);
                      times = isNaN(times) || !isFinite(times) || times <= 0 ? 1 : times;
  
                      var os = s;
                      for(var i = 1; i < times; i++) s += os;
                      return s;
                  }
func_code_string: function repeat (s, times) {
                      times = parseInt(times, 10);
                      times = isNaN(times) || !isFinite(times) || times <= 0 ? 1 : times;
  
                      var os = s;
                      for(var i = 1; i < times; i++) s += os;
                      return s;
                  }
func_documentation_string: Repeat a string 'times' times.
  @param {String} s The string to operate on.
  @param {Number} times The number of times to repeat the string
  @return {String} The repeated string.