filmov
tv
Create Strings using Template Literals, Learn JS ES6
![preview_player](https://i.ytimg.com/vi/jxgYqgjZeWc/hqdefault.jpg)
Показать описание
In this lesson from freeCodeCamps ES6 Challenges, we look at template literals. Using template literal syntax will make your code easier to read and will save time and redundancy. With template literal strings we can use a special syntax to interpolate parameters into our strings without having to use quotes (' or ") and + when concatenating. We do not have to worry about concatenation when using template literal syntax. It is important to remember that in order to use template literal syntax when creating a string, we must use backticks around our string instead of quotes. Once one practices template literals and implements template literals a couple times it becomes a lot easier to understand template literals. Template literal help can be hard to find but if you practice it more than a couple times it should become a lot simpler to comprehend template literals.