15 lines
328 B
Text
15 lines
328 B
Text
|
=== 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[]
|
||
|
|