Skip to content

Conversation

sandersn
Copy link
Member

Fixes #10668

In a destructuring assignment, a property assignment is not an assignment target. Its initialiser is. For example:

({ source: target} = o);

Here, target is the assignment target. source is not. Previously, both were assignment targets.

In a destructuring assignment, a property assignment is not an
assignment target. Its initialiser is. For example:

```ts
({ source: target} = o);
```

Here, `target` is the assignment target. `source` is not. Previously,
both were assignment targets.
@sandersn sandersn merged commit 9b1dd14 into master Jan 27, 2017
@sandersn sandersn deleted the propertyAssignment-is-not-assignment-target branch January 27, 2017 17:32
@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