diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2021-03-15 22:52:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 06:52:21 +0800 |
commit | aa6e33e2085da5ee9254910726a5bd7caac43dcc (patch) | |
tree | 0a4c5832062cc30b013671cda324ed7600d24ae6 /test/compress | |
parent | 176581d732276df1578f1eb98e722ec3b5f52bbd (diff) | |
download | tracifyjs-aa6e33e2085da5ee9254910726a5bd7caac43dcc.tar.gz tracifyjs-aa6e33e2085da5ee9254910726a5bd7caac43dcc.zip |
parse out-of-range numerals correctly (#4781)
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/numbers.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/compress/numbers.js b/test/compress/numbers.js index d7c0360c..dced3f16 100644 --- a/test/compress/numbers.js +++ b/test/compress/numbers.js @@ -1,3 +1,10 @@ +literal_infinity: { + input: { + console.log(2e308, -1e2345); + } + expect_exact: "console.log(1/0,-(1/0));" +} + parentheses_for_prototype_functions: { beautify = { beautify: true, |