Tin mới
JavaScript: Scripting language
Web APIs: Programming interfaces
Structuring content with HTML module
Dynamic scripting with JavaScript module
One or more strings to concatenate to str. Though technically permitted, calling String.prototype.concat() with no arguments is a useless operation, because it does not result in observable copying (like Array.prototype.
addition/string concatenation operators
The concat() function concatenates the string arguments to the calling string and returns a new string.
coerces its arguments directly to strings
The concat() function concatenates the string arguments to the calling string and returns a new string.
This page was last modified on Jul 10, 2025 by MDN contributors.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.