String Concatenation
noun
say it: “STRING kun-kat-uh-NAY-shun” /strɪŋ kənˌkætəˈneɪʃən/
Joining pieces of text end to end with the + sign, so "ice" + "cream" gives "icecream".
What is String Concatenation in JavaScript?
String Concatenation — Joining strings end to end with +.
const firstName = "Ada";
const greeting = "Hello, " + firstName;
In a sentence
- “I used string concatenation, firstName + " " + lastName, to build the full name on the order.”
Level: Apprentice · More JavaScript terms at this level
Updated