Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECMA 6 - Implement Template Literals #147

Open
pemattio opened this issue Jun 11, 2018 · 0 comments
Open

ECMA 6 - Implement Template Literals #147

pemattio opened this issue Jun 11, 2018 · 0 comments

Comments

@pemattio
Copy link
Contributor

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?`
@pemattio pemattio changed the title Implement Template Literals ECMA 6 - Implement Template Literals Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant