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