JavaScript ES6 Template Literals Explained !

preview_player
Показать описание
in this video, you will learn about JavaScript template literals that allow you to work with a string template easier.

Prior to ES6, you use single quotes (‘) or double quotes (“) to wrap a string literal. And the strings have very limited functionality.

To enable you to solve more complex problems, ES6 template literals provide the syntax that allows you to work with strings in a safer and cleaner way.

In ES6, you create a template literal by wrapping your text in backticks (`).

#javascript #es6 #javascript_tutorial
Рекомендации по теме