TypeScript文字列padEnd
padStart

padEnd文字列

repeat

末尾に文字を埋めて指定した長さにします。

構文

str.padEnd(targetLength, padString?): string