f <code>padding</code> has length different from 1, the result will not
have length <code>width</code>. This may be useful for cases where the
padding is a longer string representing a single character, like
<code>"&amp;nbsp;"</code> or <code>"\u{10002}</code>".
In that case, the user should make sure that <code>this.length</code> is
the correct measure of the strings length.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre c