Skip to content

Template literals (Template strings) Failing To Process #132

@ronnievsmith

Description

@ronnievsmith

Are template strings supported? I am getting the following error from Grunt:

Fatal error: myTemplateStringVar is not defined

My variable looks like below and runs fine in all three major web browsers.

myTemplateStringVar = "xyz";
let thisDt = fragment.querySelector(`dt[data-label=${myTemplateStringVar}]`);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions