Skip to content

Commit

Permalink
fix(preset-env): destructuring transpiled in edge 15
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Apr 27, 2019
1 parent 2254f7c commit 24a0e71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/babel-preset-env/data/plugin-features.js
Expand Up @@ -68,7 +68,6 @@ const es = {
features: [
"destructuring, assignment",
"destructuring, declarations",
"destructuring, parameters",
],
},
"transform-block-scoping": {
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-env/data/plugins.json
Expand Up @@ -173,7 +173,7 @@
},
"transform-destructuring": {
"chrome": "51",
"edge": "18",
"edge": "15",
"firefox": "53",
"safari": "10",
"node": "6.5",
Expand Down
@@ -1,8 +1,8 @@
((a, _ref) => {
let _ref$b = _ref.b,
b = _ref$b === void 0 ? 0 : _ref$b,
_ref$c = _ref.c,
c = _ref$c === void 0 ? 3 : _ref$c;
let {
b = 0,
c = 3
} = _ref;
return a === 1 && b === 2 && c === 3;
})(1, {
b: 2
Expand Down

0 comments on commit 24a0e71

Please sign in to comment.