0
Convert array to string
I have the following problem: I have an array ["h", "e", "l", "l", "o"] and I want to output this as a string "hello". Is there an easy way to do that?
2 Answers
+ 6
var list = ["h","e","l","l","o"];
var str = list.join("");
0
Thank you for your answer. This works very well!