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

8 lines
126 B
TypeScript

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