code: function createPadding (width) {
    var result = ''
    var string = ' '
    var n = width
    do {
      if (n % 2) {
        result += string;
      }
      n = Math.floor(n / 2);
      string += string;
    } while (n);
  
    return result;
  }
docs: lodash's way of generating pad characters.