What is the best or most concise method for returning a string repeated an arbitrary amount of times?
The following is my best shot so far:
function
function repeat(s, n) { var r=""; for (var a=0;a