JavaScript Object Reference
JS: String.prototype.concat
By Xah Lee. Date:
2017-02-17
. Last updated:
2024-04-09
.
str
.concat(
str1
,
str2
,
etc
)
Join strings
"a"
.
concat
(
"b"
,
"c"
) ===
"abc"
Search 🔍
HTML
CSS
JS
JS Ref
DOM
SVG
JS String Object
String
Constructor
fromCodePoint
fromCharCode
raw
prototype
constructor
length
concat
repeat
trim
trimStart
trimEnd
padStart
padEnd
slice
substring
substr
indexOf
lastIndexOf
includes
startsWith
endsWith
search
match
matchAll
replace
replaceAll
split
toLowerCase
toUpperCase
toLocaleLowerCase
toLocaleUpperCase
charAt
charCodeAt
codePointAt
toString
valueOf
localeCompare
normalize
[Symbol.iterator]