course content

Course Content

Introduction to JavaScript

String ConcatenationString Concatenation

Let's consider some operations that you can perform with string type.


This operation glues two strings together. Perform by the + operator:

You can see that concatenation returns a new string (literal) where two words are stuck together.

Let's create a beautiful string by concatenation:

Concatenation with Assignment

The += operator can add text to the string type variable.


What will be the output?

Select the correct answer

Section 3.

Chapter 9