diff options
Diffstat (limited to 'test/compress/arrows.js')
-rw-r--r-- | test/compress/arrows.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/compress/arrows.js b/test/compress/arrows.js index 02c4acde..eded9134 100644 --- a/test/compress/arrows.js +++ b/test/compress/arrows.js @@ -336,3 +336,18 @@ trim_body: { expect_stdout: "PASS undefined" node_version: ">=4" } + +issue_4388: { + options = { + inline: true, + toplevel: true, + } + input: { + (arguments => console.log(arguments && arguments))(); + } + expect: { + (arguments => console.log(arguments && arguments))(); + } + expect_stdout: "undefined" + node_version: ">=4" +} |