showing results for - "concatenate with backticks"
Tomas
02 Oct 2020
1const name = 'Gerardo';const surname = 'Fernández';const telephone = '123 123 123';// "Old syntax"const userInfo = 'User info: ' + name + ' ' + surname + ' ' + telephone;// "New syntax"const userInfo = `User info: ${name} ${surname} ${telephone}`;