For AI agents: the complete documentation index is available at /tc39-atlas/en/llms.txt, the full documentation bundle is available at /tc39-atlas/en/llms-full.txt, and this page is available as Markdown at /tc39-atlas/en/proposals/year/2018/proposal-template-literal-revision.md.
  • English
  • Lifting template literal restriction S4

    Proposal details
    Proposal overview

    This proposal aims to lift the restriction on escape sequences in template literals, allowing invalid escapes to be used in tagged templates without causing a SyntaxError. It changes the interpretation so that tagged templates receive raw strings, including invalid escape sequences, enabling more flexible use cases.

    Note

    The README below comes from the upstream repository and may contain outdated stage or status metadata. Use the proposal details above as the current source of truth.

    Template Literals Revision

    For details see the proposal.