Skip to content

Commit

Permalink
Add one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 26, 2022
1 parent 61fcf29 commit 3da8eea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crates/swc_ecma_minifier/tests/fixture/pr/6169/2/input.js
@@ -0,0 +1,8 @@
var ref = [
, {
toUpperCase() {
console.log(this)
}
}
], key = ref[0], value = ref[1];
value.toUpperCase();
9 changes: 9 additions & 0 deletions crates/swc_ecma_minifier/tests/fixture/pr/6169/2/output.js
@@ -0,0 +1,9 @@
var ref = [
,
{
toUpperCase () {
console.log(this);
}
}
];
(ref[0], ref[1]).toUpperCase();

0 comments on commit 3da8eea

Please sign in to comment.