TypeScript/tests/cases/conformance/es6/destructuring/iterableArrayPattern24.ts
2015-03-25 18:04:11 -07:00

3 lines
77 B
TypeScript

//@target: ES6
var a: string, b: boolean[];
[a, ...b] = { 0: "", 1: true };