JavaScript Template Literal vs. Concatination

Template literals using grave accents

Grave accents `…` make template literals possible, as demonstrated below, where strings can be separated into multiple lines. And where ${a+b}; replaces " + (a+b) + ";.

Sum of values: 6; 
Multiplication of values: 8
Sum of values: 6; Multiplication of values: 8
Show your support

Clapping shows how much you appreciated nick3499’s story.