JAVASCRIPT - HOW TO Add Space to String - Javascript Source Code
JAVASCRIPT - HOW TO Add Fixed Specific Number Spaces to String or Add ANY Specific Text X Number of Times Using the Javascript Built in REPEAT Function
To add a specific number of spaces to a string or repeat any string a fixed number of times involves the use of an underknown Javascript function called the repeat function.
Try the Repeat Function Yourself
Right click this web page and view source to view the Javascript code for this at the bottom of the source code page.