TypeScript/tests/baselines/reference/templateStringWithBackslashEscapes01.types

20 lines
359 B
Plaintext
Raw Normal View History

2015-04-17 00:54:14 +02:00
=== tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01.ts ===
var a = `hello\world`;
>a : string
>`hello\world` : string
var b = `hello\\world`;
>b : string
>`hello\\world` : string
var c = `hello\\\world`;
>c : string
>`hello\\\world` : string
var d = `hello\\\\world`;
>d : string
>`hello\\\\world` : string