Skip to content
Advertisement

Add characters to a string in Javascript

I need to add in a For Loop characters to an empty string. I know that you can use the function concat in Javascript to do concats with strings

JavaScript

But it doesn’t work with my example. Any idea of how to do it in another way?

My code :

JavaScript

Advertisement

Answer

JavaScript
Advertisement