JavaScript for Beginners Lesson #5 String Concatenation and Template Literals

preview_player
Показать описание
In this video, we will learn about string concatenation using the plus operator. Additionally, we will use a new ES6 feature known as template literals to achieve the same task with less work.

JavaScript Playlist:

0:00 What is string concatenation in JavaScript
0:24 Using the plus operator to concatenate strings
1:53 Fixing the no space issue with string concatenation
2:29 Using backticks (Template Literals)
3:35 Can I Use website
4:40 Escaping characters in JavaScript
6:29 Creating a new line in a string

MDN:
Can I Use:
Node JS:
Visual Studio Code:
Рекомендации по теме
Комментарии
Автор

In my opinion, the first use of the ticks can make one's life much easier, but I am not really convinced when it comes to new lines, I think that the standard '\n' is much more readable. Thank you for the tutorial.

laponiec
Автор

Great tutorial! I first didn't see the benefits of this new "backticks" action going on, but now i find it very easy to use. Old habits were hard to break 😂.
BTW, what theme do you use for your VS Code in this vids?

hcgreier
welcome to shbcf.ru