20 lines
359 B
Plaintext
20 lines
359 B
Plaintext
=== 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
|
|
|