Buy me a coffee
TypeScript
›
文字列
›
padEnd
←
padStart
padEnd
文字列
repeat
→
末尾に文字を埋めて指定した長さにします。
構文
str.padEnd(targetLength, padString?): string