Miscellaneous Flashcards
1
Q
Template literal - what does it look like and what is it used for?
A
Backtick ‘ replaces single or double quotes
Can be used with placeholders and multi-line text
Placeholder looks like this ${placeholder}
Template literal - what does it look like and what is it used for?
Backtick ‘ replaces single or double quotes
Can be used with placeholders and multi-line text
Placeholder looks like this ${placeholder}