You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runtime need to has the visitor for template literals.
var customer = { name: "Foo" };
var card = { amount: 7, product: "Bar", unitprice: 42 };
var message = `Hello ${customer.name},
want to buy ${card.amount} ${card.product} for
a total of ${card.amount * card.unitprice} bucks?`
The text was updated successfully, but these errors were encountered:
pemattio
changed the title
Implement Template Literals
ECMA 6 - Implement Template Literals
Jun 11, 2018
The runtime need to has the visitor for template literals.
The text was updated successfully, but these errors were encountered: