concat variables in javascript code example Example: js concat variable and string const txt = "My name is" console.log(`${txt} Paul`);