es6 Template Literals Flashcards
1
Q
What is the syntax for writing a template literal?
A
string
. substitute with ${ sub }
2
Q
What is “string interpolation”?
A
The ability to substitute part of the string for the values of variables or expressions.