add var to string javascript code example Example: how to concatenate strings and variables in javascript const helloName = name => `Hello ${name}!`