ES2015: Template Literals – Template Strings

ES2015: Template Literals – Template Strings

Description

Multi-line Strings

Expression Interpolation

Nesting Templates

Tagged Template Literals

Escape Sequences

 

Learn ES2015

 

Denoted with back-ticks `` (above the tab key).

Reference variables with ${var} the dollar symbol and curly braces.

 

Babel (ES2015 Compiler) Babel compiles ES2015 into browser ready JavaScript.

 

Code written in JS (Template Literal in ES2015) no JSX used.