O'Reilly logo
  • Anand Ramanathan thinks this is interesting:

var customerName = "John Smith"; console.log(`Hello{customerName}`); function getCustomer(){ return "Allan Lou"; } console.log(`Hello{getCustomer()}`);

From

Cover of Angular 2 Development with TypeScript

Note

$ signs are missing before the curly braces.