Basic JavaScript (27/111) | Concatenating Strings with the Plus Equals Operator | freeCodeCamp
Full playlist 👉 • Basic JavaScript (1/111) | Comment Your Ja...
We can also use the += operator to concatenate a string onto the end of an existing string variable. This can be very helpful to break a long string over several lines.
Note
Watch out for spaces. Concatenation does not add spaces between concatenated strings, so you'll need to add them yourself.
Example:
var ourStr = "I come first. ";
ourStr += "I come second.";
// ourStr is now "I come first. I come second."
https://www.freecodecamp.org/learn/ja...
Auf dieser Seite können Sie das Online-Video Basic JavaScript (27/111) | Concatenating Strings with the Plus Equals Operator | freeCodeCamp mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Stral Tech 31 Juli 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 525 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!