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

2 lines
40 B
TypeScript

var c = { bogus: 0 };
[...c] = ["", 0];