-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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 requries --es-staging in v5.3.0 #4366
Labels
invalid
Issues and PRs that are invalid.
Comments
ChALkeR
added
doc
Issues and PRs related to the documentations.
v8 engine
Issues and PRs related to the V8 dependency.
labels
Dec 20, 2015
@elmigranto That is not the Spread operator, those are called Rest parameters. |
ChALkeR
added
invalid
Issues and PRs that are invalid.
and removed
doc
Issues and PRs related to the documentations.
v8 engine
Issues and PRs related to the V8 dependency.
labels
Dec 20, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changelog and official ES6 Support page states that Spread operator is supported without any runtime flags by
>= 5.x.x
. However, I getSyntaxError
while using it without--es-staging
flag. For example:I'm on OS X with node 5.3.0 installed via homebrew and its default config (AFAIK, it uses https://nodejs.org/dist/v5.3.0/node-v5.3.0.tar.gz), here's my
process.versions
:The text was updated successfully, but these errors were encountered: