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