javascript concatenate string and variable es6 code example
Example 1: js string concatenation es6
let str=`JavaScript first appeared ${a+b} years ago. Wow!`;
Example 2: how to concatenate strings and variables in javascript
const helloName = name => `Hello ${name}!`