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!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly