18 lines
361 B
Text
18 lines
361 B
Text
=== tests/cases/conformance/es6/templates/templateStringWithBackslashEscapes01_ES6.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
|
|
|