JavaScript string repeat
Did you know JavaScript comes with a handy repeat() function?
It allows us to repeat a string an x number of times.
This uses to be a tedious process making use of loops or while arrays.
Now we can simply call repeat() on a string.
Making use of Java...
h.daily-dev-tips.com2 min read