Photo shows four newspaper boxes, probably Americans in residential neighborhood

ES6: string templates

Play with strings can often be something a little bit painful (you can also read boring இ_இ). This is due mainly to the fact of having to concatenate words/phrases with variables.

Strings templates for our happiness.

My friend Rafael Rinaldi made a good point: you can use any kind of expression, not just variables.

Here you can find an JS Bin with the examples.

See all posts...