TypeScript String concat()
Syntax & Examples


Syntax of String.concat()

The syntax of String.concat() method is:

concat(...strings: string[]): string

This concat() method of String returns a string that contains the concatenation of two or more strings.