es6-template-literals Flashcards
1
Q
What is the syntax for writing a template literal?
A
You create a template literal by wrapping your text in backticks (`); to substitute a variables or expression, ${variable_name}
2
Q
What is “string interpolation”?
A
The ability to substitute part of the string for the values of variables or expressions. ${variable_name}