mirror of https://github.com/sveltejs/svelte
parent
cea152fb59
commit
9614e66dfb
@ -1,5 +0,0 @@
|
|||||||
export default function repeat(str: string, i: number) {
|
|
||||||
let result = '';
|
|
||||||
while (i--) result += str;
|
|
||||||
return result;
|
|
||||||
}
|
|
Loading…
Reference in new issue