Learn JavaScript
Advanced String Manipulation

Create String Using Backticks

We can create strings using backticks. This allows us to embed expressions into a string.

In the example given below, the result of addition of two numbers is embedded using backticks.

We can also use backticks to create a multi-line string.