es6-template-literals Flashcards
1
Q
What is the syntax for writing a template literal?
A
${variable name}
–> ` this is a backtick!!!
2
Q
What is “string interpolation”?
A
evaluating a string literal containing one or more placeholders. Adding something into something else such as ${placeholders} into template literal