Buy me a coffee
TypeScript
›
文字列
›
repeat
←
padEnd
repeat
文字列
startsWith
→
文字列をn回繰り返した新しい文字列を返します。
構文
str.repeat(count: number): string