Performance tip:
If you have to concatenate large strings, put the string parts into an array and use the Array.Join()
method to get the overall string. This can be many times faster for concatenating a large number of strings.
There is no StringBuilder
in JavaScript.