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

8 lines
126 B
TypeScript

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