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