swc/crates/swc_ecma_parser/tests/tsc/emptyAssignmentPatterns02_ES5iterable.ts

9 lines
155 B
TypeScript

// @target: es5
// @declaration: true
// @downlevelIteration: true
var a: any;
let x, y, z, a1, a2, a3;
({} = { x, y, z } = a);
([] = [ a1, a2, a3] = a);