how to add data to a string in js code example Example: javascript add to string var s = 'hell' s = s + 'o'