template literal Flashcards
1
Q
What is the syntax for writing a template literal?
A
using backticks ` to wrap text
$ { } string interpolation
2
Q
What is “string interpolation”?
A
to be able to replace(substitute) a part of the string for values of variables or expressions.