ES6 Flashcards
New features introduced by ES6
1
Q
How to concatenate variable value without use + (plus operator) and String.Concat() method ?
A
let myVar = "This is:"; let thing = "Amazing!";
console.log(´${myVar} ${thing }´);
//prints This is Amazing!