.repeat(3)
results NNN
What I need:
N,N,N
.repeat(3)
results NNN
What I need:
N,N,N
Try this:
.repeat(3).split('').join(',')
Savior as always. Thanks
Just want to add that .repeat(3).split('')
is sufficient to produce the result.