How to get repeat with comma using repeat formatter

.repeat(3) results NNN

What I need:

N,N,N

Try this:

.repeat(3).split('').join(',')
1 Like

Savior as always. Thanks :+1: :+1:

Just want to add that .repeat(3).split('') is sufficient to produce the result.