Concatenate strings and variables
Variable
myName
will be concatenated with the string
let myName = 'Valeri';
console.log('My name is ' + myName + '.');
The result will be:
My name is Valeri.
by Valeri Tandilashvili
4 years ago
JavaScript
Concatenation
1
Pro tip: use ```triple backticks around text``` to write in code fences