JavaScript concat method
Theconcat method connects two or more strings, its syntax is as follows:
concat instance
Run this example, output:
www.jb51.net
Tip: It is usually more convenient to use the algorithm to connect strings. For details, see: "JavaScript Operators".