Returns the repeated string with the given text and size
Optional
the source string to inspect
the size to pad to
the repeated string with the given text and size
David Hsing
repeat(undefined, 0); // undefinedrepeat('', 3); // ''repeat('z', 3); // 'zzz' Copy
repeat(undefined, 0); // undefinedrepeat('', 3); // ''repeat('z', 3); // 'zzz'
Returns the repeated string with the given text and size