ericmckean / traceur-compiler

Automatically exported from code.google.com/p/traceur-compiler
Apache License 2.0
0 stars 0 forks source link

Support initializers in AssignmentPattern #181

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The following should work:

var x;
{p: x = 42} = {};
assertEquals(42, x);

See DestructuringAssignmentTarget in the ES6 draft

Original issue reported on code.google.com by arv@google.com on 11 Dec 2012 at 12:41