code: function pad(n, s) {
    var before = Array(n + 1).join(' ')
  
    return s.split(/\r\n|\r|\n/)
            .map(function(a){ return before + a })
            .join('\n')
  }
docs: Pads a String with some whitespace.
  
  @summary Number, String → String