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

support destructuring assignment as separate es feature #5676

Open
alexander-akait opened this issue Oct 30, 2020 · 1 comment
Open

support destructuring assignment as separate es feature #5676

alexander-akait opened this issue Oct 30, 2020 · 1 comment

Comments

@alexander-akait
Copy link

For let we have file https://github.com/Fyrd/caniuse/blob/master/features-json/let.json, but for destructuring assignment we don't have it, it is strange because we have https://caniuse.com/mdn-javascript_operators_destructuring page

Ref: webpack/webpack#11876

Why it is a problem? Because IE 11 supports part of es6, for example destructuring assignment is not supported

Maybe we should separate all es6 features

@Fyrd
Copy link
Owner

Fyrd commented Nov 1, 2020

The "let" data is part of the caniuse database while the "destructuring assignment" data comes from MDN (see https://github.com/mdn/browser-compat-data/blob/master/javascript/operators/destructuring.json ).

While I won't disallow data that's already part of the MDN BCD to be added to the caniuse database, it's not going to be a priority for me to add since it can already be found on the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants