append $ symbol to template string javascript code example
Example 1: js string concatenation es6
let str=`JavaScript first appeared ${a+b} years ago. Wow!`;
Example 2: string literals javascript
`string text`
`string text line 1
string text line 2`
`string text ${expression} string text`
tag`string text ${expression} string text`