TypeScript文字列repeat
padEnd

repeat文字列

startsWith

文字列をn回繰り返した新しい文字列を返します。

構文

str.repeat(count: number): string