Skip to content

Support tagged templates in ES5 and ES3 #2253

Closed
@Alxandr

Description

@Alxandr

Tagged templates are fairly easy to implement using ES5 and ES3, you simply turn the following:

fn`Hello ${you}! You're looking ${adjective} today!`

into the following:

fn(["Hello ", "! You're looking ", " today!"], you, adjective);

(sample taken from http://updates.html5rocks.com/2015/01/ES6-Template-Strings)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions