TypeScript/tests/baselines/reference/unicodeExtendedEscapesInTemplates20_ES6.types
2015-04-13 14:29:37 -07:00

8 lines
451 B
Plaintext

=== tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates20_ES6.ts ===
var x = `\u{48}\u{65}\u{6c}\u{6c}\u{6f}${`\u{20}\u{020}\u{0020}\u{000020}`}\u{77}\u{6f}\u{72}\u{6c}\u{64}`;
>x : string, Symbol(x, Decl(unicodeExtendedEscapesInTemplates20_ES6.ts, 1, 3))
>`\u{48}\u{65}\u{6c}\u{6c}\u{6f}${`\u{20}\u{020}\u{0020}\u{000020}`}\u{77}\u{6f}\u{72}\u{6c}\u{64}` : string
>`\u{20}\u{020}\u{0020}\u{000020}` : string