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