July 2017
Intermediate to advanced
300 pages
5h 43m
English
Another great addition to JavaScript is template literals. These are string literals that can be multiline and can include interpolated expressions (`${expression}`). For example, we can refactor our move method body, as follows:
console.log( ` ${this.name} moving ${Robot.normalizeDirection( direction )} ` );
Read now
Unlock full access