Adds the padWith until the string length matches the length
padWith
length
const padded = rightPadMin("1", 3, ".");console.log(padded); // '1..' Copy
const padded = rightPadMin("1", 3, ".");console.log(padded); // '1..'
Adds the
padWith
until the string length matches thelength