Question
· Nov 27, 2019

Repeat some characters n times in ObjectScript.

Hello,
 
I'm looking for a simple commons method or operator that allows me to repeat some characters  n times. I know I could write this using a for loop, but I wish to avoid for loops whenever necessary and a simple direct method should exist somewhere.
 
Best Regards.
Discussion (6)0
Log in or sign up to continue