43 lines
611 B
Text
43 lines
611 B
Text
=== tests/cases/compiler/letDeclarations.ts ===
|
|
|
|
let l1;
|
|
>l1 : any
|
|
|
|
let l2: number;
|
|
>l2 : number
|
|
|
|
let l3, l4, l5 :string, l6;
|
|
>l3 : any
|
|
>l4 : any
|
|
>l5 : string
|
|
>l6 : any
|
|
|
|
let l7 = false;
|
|
>l7 : boolean
|
|
>false : boolean
|
|
|
|
let l8: number = 23;
|
|
>l8 : number
|
|
>23 : number
|
|
|
|
let l9 = 0, l10 :string = "", l11 = null;
|
|
>l9 : number
|
|
>0 : number
|
|
>l10 : string
|
|
>"" : string
|
|
>l11 : any
|
|
>null : null
|
|
|
|
for(let l11 in {}) { }
|
|
>l11 : any
|
|
>{} : {}
|
|
|
|
for(let l12 = 0; l12 < 9; l12++) { }
|
|
>l12 : number
|
|
>0 : number
|
|
>l12 < 9 : boolean
|
|
>l12 : number
|
|
>9 : number
|
|
>l12++ : number
|
|
>l12 : number
|
|
|