-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Object rest parameters throw exceptions on parsing (related to upgrade to core-js@3
)
#9713
Comments
Hey @ehmicky! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
As a side note, you need to use |
@nicolo-ribaudo thanks for the tip, I was actually a little confused about this. I got the wrong option from this StackOverflow question. However setting it to |
I'll try to fix it after some hours. |
Fixed. |
This works! Thanks! |
Bug Report
Current Behavior
I've just upgraded to
core-js@3
and Babel7.4.0
. Object rest parameters are throwing errors when being parsed.Input Code
test.js
:In a terminal:
Expected behavior/code
No exception should be thrown.
Babel Configuration (.babelrc)
Environment
v11.12.0
, npm6.9.0
cli
The text was updated successfully, but these errors were encountered: