TypeScriptStringpadEnd

Pads the current string with another string until the resulting string reaches the given length, applied from the end.

Syntax

str.padEnd(targetLength, padString?): string