Skip to content

Conversation

DanielRosenwasser
Copy link
Member

Fixes #3893

@JsonFreeman
Copy link
Contributor

Looks like nested empty binding patterns are working correctly, but might be good to add a test for them:

var a;
({ x: {}, y: []} = a);
([[], {}] = a);

({ x: {}, y: []}) => { };
([[], {}]) => { };

@JsonFreeman
Copy link
Contributor

👍

DanielRosenwasser added a commit that referenced this pull request Jul 17, 2015
@DanielRosenwasser DanielRosenwasser merged commit 33794b7 into master Jul 17, 2015
@DanielRosenwasser DanielRosenwasser deleted the emptyBindingAssignmentPatterns branch July 17, 2015 21:03
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants