TypeScript/tests/cases/conformance/es6/destructuring/restElementWithAssignmentPattern5.ts

2 lines
52 B
TypeScript

var s: string, s2: string;
[...[s, s2]] = ["", ""];