From aa6e33e2085da5ee9254910726a5bd7caac43dcc Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Mon, 15 Mar 2021 22:52:21 +0000 Subject: parse out-of-range numerals correctly (#4781) --- test/compress/numbers.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/compress') 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, -- cgit v1.2.3