add string in function with $ javascript code example
Example 1: javascript add to string
var s = 'hell'
s = s + 'o'
Example 2: string javascript concatenation
var dest = new String("");
var src = new String("aze");
...
dest += src + src + src + src + src;