-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Allow array spread and rest params #34282
Conversation
Hey @erwinmombay! These files were changed:
Hey @jridgewell! These files were changed:
|
@jridgewell bumping this in your GH queue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs updates to handle ArrayPattern
:
- build-system/babel-plugins/babel-plugin-transform-default-assignment/index.js
- build-system/eslint-rules/no-deep-destructuring.js
- build-system/eslint-rules/prefer-destructuring.js
- build-system/eslint-rules/unused-private-field.js
Can be removed:
- build-system/babel-plugins/babel-plugin-transform-simple-array-destructure/index.js
src/core/types/function.js
Outdated
@@ -36,7 +36,7 @@ export function once(fn) { | |||
let callback = fn; | |||
return (...args) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, this shouldn't have been here to start with.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'd been wondering about this, and if it caused the iterator polyfill to be included regardless. Should I rewrite to use arguments
?
I can't make heads or tails of a lot of this code. @samouri do you have insights here? Would be happy to pair-program but absolutely lost at first glance |
I can help later this week. Changes LGTM. |
No description provided.