Skip to content
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

Spread Operator example should be accompanied with Array Literal Spreading #23

Closed
webbedspace opened this issue Apr 8, 2015 · 1 comment

Comments

@webbedspace
Copy link

Consider that this is valid ES6:

var b = [1,2,3];
var a = [0, ...b];
a; // [0,1,2,3]
@rse
Copy link
Owner

rse commented Apr 8, 2015

Good idea. Thanks, now also shown.

@rse rse closed this as completed Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants