Syntax string.concat(string2) The concat() method concatenates the string in string2 to the end of string to return a new string.