ES6-Template-Literals Flashcards

1
Q

What is the syntax for writing a template literal?

A

Using backticks to enclose a string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is “string interpolation”?

A

It is the ability to substitute parts of a string with variable values or expressions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly