function to insert string in string javascript code example Example: javascript add to string var s = 'hell' s = s + 'o'