diff options
Diffstat (limited to 'test/compress/evaluate.js')
-rw-r--r-- | test/compress/evaluate.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/compress/evaluate.js b/test/compress/evaluate.js index 3ac62ef5..2294ca01 100644 --- a/test/compress/evaluate.js +++ b/test/compress/evaluate.js @@ -1489,3 +1489,16 @@ issue_2916_2: { } expect_stdout: "PASS" } + +issue_2919: { + options = { + evaluate: true, + unsafe: true, + } + input: { + console.log([ function() {} ].toString()); + } + expect: { + console.log("function(){}"); + } +} |