73 lines
1.1 KiB
Text
73 lines
1.1 KiB
Text
=== tests/cases/conformance/es6/templates/templateStringWithEmptyLiteralPortions.ts ===
|
|
var a = ``;
|
|
>a : string
|
|
>`` : string
|
|
|
|
var b = `${ 0 }`;
|
|
>b : string
|
|
>`${ 0 }` : string
|
|
>0 : number
|
|
|
|
var c = `1${ 0 }`;
|
|
>c : string
|
|
>`1${ 0 }` : string
|
|
>0 : number
|
|
|
|
var d = `${ 0 }2`;
|
|
>d : string
|
|
>`${ 0 }2` : string
|
|
>0 : number
|
|
|
|
var e = `1${ 0 }2`;
|
|
>e : string
|
|
>`1${ 0 }2` : string
|
|
>0 : number
|
|
|
|
var f = `${ 0 }${ 0 }`;
|
|
>f : string
|
|
>`${ 0 }${ 0 }` : string
|
|
>0 : number
|
|
>0 : number
|
|
|
|
var g = `1${ 0 }${ 0 }`;
|
|
>g : string
|
|
>`1${ 0 }${ 0 }` : string
|
|
>0 : number
|
|
>0 : number
|
|
|
|
var h = `${ 0 }2${ 0 }`;
|
|
>h : string
|
|
>`${ 0 }2${ 0 }` : string
|
|
>0 : number
|
|
>0 : number
|
|
|
|
var i = `1${ 0 }2${ 0 }`;
|
|
>i : string
|
|
>`1${ 0 }2${ 0 }` : string
|
|
>0 : number
|
|
>0 : number
|
|
|
|
var j = `${ 0 }${ 0 }3`;
|
|
>j : string
|
|
>`${ 0 }${ 0 }3` : string
|
|
>0 : number
|
|
>0 : number
|
|
|
|
var k = `1${ 0 }${ 0 }3`;
|
|
>k : string
|
|
>`1${ 0 }${ 0 }3` : string
|
|
>0 : number
|
|
>0 : number
|
|
|
|
var l = `${ 0 }2${ 0 }3`;
|
|
>l : string
|
|
>`${ 0 }2${ 0 }3` : string
|
|
>0 : number
|
|
>0 : number
|
|
|
|
var m = `1${ 0 }2${ 0 }3`;
|
|
>m : string
|
|
>`1${ 0 }2${ 0 }3` : string
|
|
>0 : number
|
|
>0 : number
|
|
|