repeat

Repeats the text a given number of times.
Accepts
Returns
Syntax
repeat(text, count) text.repeat(count)

"Ben is" 
+ " pretty,"
	.repeat(4)
	.substring(0, -1)
+ " good."
=
Ben is pretty, pretty, pretty, pretty good. "Ben is pretty, pretty, pretty, pretty good."

The .substring(0, -1) simply removes the final unneeded comma from the string.