function chars(character, length) {
  return new Array(length + 1).join(character);
}
Returns a string composed of the given character repeated `length` times.

@param {string} character
@param {number} length
@returns {string}
@private