Skip to content

ZNTC0908: Invalid escape sequence in template literal

Invalid escape sequence in template literal

Category: Parser: Await/Yield/JSX/TS

const x = `\unicode`;

Reproduce in Playground →

See the error message for cause and resolution.