Skip to content

Commit

Permalink
Current behavior for preset-env destructuring and edge
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Apr 27, 2019
1 parent 555d50a commit 2254f7c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
@@ -0,0 +1,3 @@
((a, { b = 0, c = 3 }) => {
return a === 1 && b === 2 && c === 3;
})(1, { b: 2 });
@@ -0,0 +1,13 @@
{
"presets": [
[
"../../../../lib",
{
"targets": {
"browsers": ["edge >= 15"]
},
"modules": false
}
]
]
}
@@ -0,0 +1,9 @@
((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;
return a === 1 && b === 2 && c === 3;
})(1, {
b: 2
});

0 comments on commit 2254f7c

Please sign in to comment.