Skip to content

String Interpolation error with escaped strings #20192

Closed
@Proculopsis

Description

@Proculopsis

Full example here in the Playground: https://goo.gl/VWEkV5

The transpiler isn't consistent with native JavaScript when using the escaping character.

For example:

\0 == "\0" but \0000 != "\0000"

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions