New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ES7 Object rest/spread properties #4928

Closed
mhegazy opened this Issue Sep 22, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@mhegazy
Contributor

mhegazy commented Sep 22, 2015

Here is the ES7 proposal:
https://github.com/sebmarkbage/ecmascript-rest-spread

Rest Properties

let { x, y, ...z } = { x: 1, y: 2, a: 3, b: 4 };
x; // 1
y; // 2
z; // { a: 3, b: 4 }

Spread Properties

let n = { x, y, ...z };
n; // { x: 1, y: 2, a: 3, b: 4 }
@DanielRosenwasser

This comment has been minimized.

Show comment
Hide comment
@DanielRosenwasser

DanielRosenwasser Sep 22, 2015

Member

Duplicate of #2103.

Member

DanielRosenwasser commented Sep 22, 2015

Duplicate of #2103.

@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.