So I have an array in a Javascript file that I want to display on my web page.
However, when I do it using
document.getElementById("fullVerb").innerHTML = thisVerb;
it is displayed without spaces. Like: first,second,third
How do I make it normally spaced (i.e. first, second, third)?
I can't just write the array in the HTML because it changes.
join:thisVerb.join(', ');