TypeScript/tests/baselines/reference/restElementWithAssignmentPattern5.types

17 lines
356 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern5.ts ===
var s: string, s2: string;
>s : string
>s2 : string
[...[s, s2]] = ["", ""];
>[...[s, s2]] = ["", ""] : string[]
>[...[s, s2]] : string[]
>...[s, s2] : string
>[s, s2] : string[]
>s : string
>s2 : string
>["", ""] : string[]
2015-04-14 02:34:02 +02:00
>"" : string
>"" : string