diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/compress/destructured.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/compress/destructured.js b/test/compress/destructured.js index 9fd425d1..81beb7f7 100644 --- a/test/compress/destructured.js +++ b/test/compress/destructured.js @@ -1866,3 +1866,23 @@ issue_4383: { expect_stdout: "1" node_version: ">=6" } + +issue_4386: { + options = { + arguments: true, + } + input: { + function f({}) { + return arguments[0]; + } + console.log(f("PASS")); + } + expect: { + function f({}) { + return arguments[0]; + } + console.log(f("PASS")); + } + expect_stdout: "PASS" + node_version: ">=6" +} |