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

javascript.statements.default: move data? #4898

Closed
queengooborg opened this issue Sep 29, 2019 · 0 comments · Fixed by #5869
Closed

javascript.statements.default: move data? #4898

queengooborg opened this issue Sep 29, 2019 · 0 comments · Fixed by #5869
Labels
data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript question Issues where a question or problem is stated and a discussion is held to gather opinions.

Comments

@queengooborg
Copy link
Contributor

While working on the IE/Edge data, I saw javascript.statements.default, which talks about the default statement available in both switch and export. However, I feel these are in the incorrect location. As default on its own doesn't have compatibility data (it's just its two subfeatures), I'm thinking we should move both of these statements to be subfeatures under the statements for switch and export respectively. In other words:

  • javascript.statements.default.switch -> javascript.statements.switch.default
  • javascript.statements.default.export -> javascript.statements.export.default
@queengooborg queengooborg added question Issues where a question or problem is stated and a discussion is held to gather opinions. data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript labels Sep 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript question Issues where a question or problem is stated and a discussion is held to gather opinions.
Projects
None yet
1 participant