docs: function stringRepeatRep(s, times) {
                  var half,
                      val;
  
                  if (times < 1) {
                      val = '';
                  } else if (times % 2) {
                      val = stringRepeatRep(s, times - 1) + s;
                  } else {
                      half = stringRepeatRep(s, times / 2);
                      val = half + half;
                  }
  
                  return val;
              }